Options
All
  • Public
  • Public/Protected
  • All
Menu

Module isDate

Index

References

Functions Lang

References

Renames and re-exports __type

Lang Functions

  • isDate(value: any): value is Date
  • Checks if value is classified as a Date object.

    since

    5.5.0

    example
    isDate(new Date)
    // => true

    isDate('Mon April 23 2012')
    // => false

    Parameters

    • value: any

      The value to check.

    Returns value is Date

    Returns true if value is a date object, else false.