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