Skip to content

ckeditor5-elements / matchesElement

Function: matchesElement() ​

ts
function matchesElement(matcher, element): boolean;

Returns whether the matcher is for the element.

Parameters ​

ParameterType
matcherElementMatcher
elementModelElement

Returns ​

boolean