• Returns true if the given value is an instance of Date.

    Parameters

    • value: unknown

      The value to check

    Returns value is Date

    True if the given value is a date

    isDate(new Date())
    //=> true
    // => true
    isDate(new Date(NaN))
    // => false
    isDate('2014-02-31')
    // => false
    isDate({})