@resee-movies/utilities - v0.8.0
    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 undefined | Date