@timlassiter11/yatl
    Preparing search index...

    Type Alias ComparatorCallback

    ComparatorCallback: (a: any, b: any) => number

    Callback for comparing two values.

    Type Declaration

      • (a: any, b: any): number
      • Parameters

        • a: any

          The first value.

        • b: any

          The second value.

        Returns number

        A negative number if a < b, a positive number if a > b, or 0 if they are equal.