Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Comparer<T>

Type parameters

  • T

Hierarchy

  • Comparer

Implemented by

Index

Properties

compare

compare: CompareFunction<T>

equal

equal: (a: T, b: T) => boolean

Type declaration

    • (a: T, b: T): boolean
    • Parameters

      • a: T
      • b: T

      Returns boolean

inf

inf: (a: T, b: T) => boolean

Type declaration

    • (a: T, b: T): boolean
    • Parameters

      • a: T
      • b: T

      Returns boolean

infOrEqual

infOrEqual: (a: T, b: T) => boolean

Type declaration

    • (a: T, b: T): boolean
    • Parameters

      • a: T
      • b: T

      Returns boolean

setCompareFunction

setCompareFunction: (compareFunction: CompareFunction<T>) => any

Type declaration

sup

sup: (a: T, b: T) => boolean

Type declaration

    • (a: T, b: T): boolean
    • Parameters

      • a: T
      • b: T

      Returns boolean

supOrEqual

supOrEqual: (a: T, b: T) => boolean

Type declaration

    • (a: T, b: T): boolean
    • Parameters

      • a: T
      • b: T

      Returns boolean

Generated using TypeDoc