• sort a boolean collection (Descending)

    Returns SortFn<boolean | undefined>

  • sort a collection based on a boolean (Descending)

    Type Parameters

    • T

    Parameters

    • getBool: ((x: T) => undefined | boolean)

      Define the boolean mapper

        • (x): undefined | boolean
        • Parameters

          Returns undefined | boolean

    Returns SortFn<T>