map.apps Bundle APIs 4.20.0
    Preparing search index...

    Interface Filter

    Represents a parsed Filter expression.

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

    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