Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Comparator"

Index

Interfaces

Functions

Functions

compare

  • Type parameters

    • T

    Parameters

    • comparison: function
        • (a: T, b: T): number
        • Parameters

          • a: T
          • b: T

          Returns number

    Returns Comparator<T>

naturalOrder

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