Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "geocortex/infrastructure/Collator"

Index

Variables

Const collator

collator: function

The fastest comparison function available. This is for comparing strings and objects, numeric sorting should be handled manually.

Type declaration

    • (a: string, b: string): number
    • Parameters

      • a: string
      • b: string

      Returns number

Const manualCollator

manualCollator: function

Manual comparison function. Slower than native.

Type declaration

    • (a: string, b: string): number
    • Parameters

      • a: string
      • b: string

      Returns number