Options
All
  • Public
  • Public/Protected
  • All
Menu

Module core/Comparator

Index

Interfaces

Type aliases

Type aliases

ListComparator

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