Sign up (with export icon)

engine/view/matcher

Api-module iconmodule

Classes

Interfaces

Type Definitions

Functions

  • Chevron-right icon

    isPatternMatched( pattern, item ) → unknown
    internal

    Returns true if the given item matches the pattern.

    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