@resee-movies/utilities - v0.8.0
    Preparing search index...

    Function getEarliest

    • In an array of values that can be converted to a Date using toDate, return the chronologically earliest value. It's like Math.min(), but for dates.

      Parameters

      • dates: unknown[]

      Returns undefined | Date