Represents a parsed Filter expression.

interface Filter {
    match(obj: Record<string, any>): boolean;
    matchCase(obj: Record<string, any>): boolean;
}

Methods

  • Test, if a filter matches against the given object (case-insensitive).

    Parameters

    • obj: Record<string, any>

      target data object

    Returns boolean

    true if the filter matches

  • Test, if a filter matches against the given object (case-sensitive).

    Parameters

    • obj: Record<string, any>

      target data object

    Returns boolean

    true if the filter matches