Type Parameters

  • T = number

Hierarchy

  • ITranslationSorter
  • Parameters

    • a: T
    • b: T

    Returns number

Methods

  • Sets this sort to be reversed

    Returns ITranslationSorter<T>

  • Sets whether this sort should be reversed

    Parameters

    • reverse: boolean

    Returns ITranslationSorter<T>

  • Sets a custom sorter to override the default sort functionality

    Note: When a custom sorter is used, fallbacks registered in setFallback will not be.

    Type Parameters

    • A extends any[]

    Parameters

    Returns ITranslationSorter<T>

  • Sets a custom translator, which takes each value to sort and makes a string from it. These strings are cached by the sorter

    Type Parameters

    • T2 = T

    Parameters

    Returns ITranslationSorter<T2>

Generated using TypeDoc