code: function (element, predicateIds) {
        return function (editor) {
          for (var i = 0; i < predicateIds.length; i++) {
            if (predicateIds[i].predicate(element)) {
              return Matcher.result(predicateIds[i].id, Measure.getElementRect(editor, element));
            }
          }
  
          return null;
        };
      }
docs: element :: Element, [PredicateId] -> (Editor -> Matcher.result | Null)