@juulsgaard/ts-tools
    Preparing search index...

    Function sortDateDesc

    • sort a Date collection (Descending)

      Returns SortFn<Date | undefined>

    • sort a collection based on a Date (Descending)

      Type Parameters

      • T extends object

      Parameters

      • getDate: (x: T) => Date | undefined

        Define the Date mapper

      Returns SortFn<T>