@resee-movies/utilities - v1.0.2
    Preparing search index...

    Function getLatest

    • In an array of values that can be converted to a Date using toDate, return the chronologically latest value. Its like Math.max(), but for dates.

      Parameters

      • dates: unknown[]

      Returns Date | undefined