Options
All
  • Public
  • Public/Protected
  • All
Menu

Data Structures and Algorithms

Index

Type aliases

compare<K>: (a: K, b: K) => -1 | 0 | 1

Type parameters

  • K

Type declaration

    • (a: K, b: K): -1 | 0 | 1
    • Parameters

      • a: K
      • b: K

      Returns -1 | 0 | 1

      -1 (a < b), 0 (a = b), 1 (a > b)