@timlassiter11/yatl
    Preparing search index...

    Type Alias SortValueCallback

    SortValueCallback: (value: any) => number | string

    Callback for caching the sort value of a field This function should derive a comparable value (often numerical or lowercase string) from the field's original value, to be used during sorting.

    Type Declaration

      • (value: any): number | string
      • Parameters

        • value: any

          The value of the field.

        Returns number | string

        The derived value for sorting (e.g., a number or a standardized string).