# engine/view/matcher

module

<a id="classes">

## Classes

<a id="class-Matcher">

### [Matcher](module_engine_view_matcher-Matcher.md)

<a id="interfaces">

## Interfaces

<a id="interface-Match">

### `Match`

<a id="interface-MatchResult">

### `MatchResult`

<a id="interface-MatcherObjectPattern">

### `MatcherObjectPattern`

<a id="type-definitions">

## Type Definitions

<a id="typedef-MatchAttributePatterns">

### `MatchAttributePatterns`

<a id="typedef-MatchClassPatterns">

### `MatchClassPatterns`

<a id="typedef-MatchPropertyPatterns">

### `MatchPropertyPatterns`

<a id="typedef-MatchStylePatterns">

### `MatchStylePatterns`

<a id="typedef-MatcherFunctionPattern">

### `MatcherFunctionPattern`

<a id="typedef-MatcherPattern">

### `MatcherPattern`

<a id="typedef-NormalizedPropertyPattern">

### `NormalizedPropertyPattern`

<a id="functions">

## Functions

<a id="function-isPatternMatched">

### `isPatternMatched( pattern, item ) → unknown` _(internal)_

Returns true if the given `item` matches the pattern.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/view/matcher.ts#L231)

#### Parameters

* `pattern: string | true | RegExp`

  A pattern representing a key/value we want to match.

* `item: string`

  An actual item key/value (e.g. `'src'`, `'background-color'`, `'ck-widget'`) we're testing against pattern.

#### Returns

* `unknown`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
