@mantlebee/ts-data
    Preparing search index...

    Type Alias InMemoryQueryItemsComparer<TItem>

    InMemoryQueryItemsComparer: (value: unknown, field: KeyOf<TItem>) => Any

    Converts the value of a field of an item, or of a filter on that field, into the primitive the in-memory delegates compare with ===, < and >. Typed Any on purpose: the relational operators are applied to whatever the conversion returns. See createInMemoryQueryItemsComparer.

    Type Parameters

    • TItem = Any

      Type of the items.

    Type Declaration

      • (value: unknown, field: KeyOf<TItem>): Any
      • Parameters

        • value: unknown
        • field: KeyOf<TItem>

        Returns Any