Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "createComparatorFactory"

Index

Type aliases

Selector

Selector: function

Type declaration

    • (value: T): any
    • Parameters

      • value: T

      Returns any

Functions

asSelector

  • asSelector<T>(keyOrSelector: any): Selector<T>

compare

compareBy

compareByDescending

  • compareByDescending<T>(keyOrSelector: any): Comparator<T>

createComparatorFactory

naturalCompare

  • naturalCompare(a: any, b: any): 1 | -1 | 0

naturalOrder

nullsFirst

nullsLast

reverseOrder