Options
All
  • Public
  • Public/Protected
  • All
Menu

Module core/Comparator

Index

Interfaces

Type Aliases

Type Aliases

ListComparator<T>: ((a: T, b: T) => number)

Type Parameters

  • T

Type declaration

    • (a: T, b: T): number
    • Comparator function to sort elements in a list.

      Parameters

      • a: T
      • b: T

      Returns number

Generated using TypeDoc