ChronosChronos

Check Date Object

Validates if a value is a Date object.

isDate

Validates if a value is a Date object. Properly handles Date instances across different execution contexts.

Signature

isDate(value: unknown): value is Date

Examples

playground.ts

Use Cases

  • Date parsing validation
  • Serialization/deserialization
  • Form input handling

See Also

  • isDateLike - Checks if a value is date-like (Date, Day.js, Moment, Chronos, Luxon, Temporal etc.)
  • isDateString - Checks if a string is a valid date string in 'DD-MM-YYYY' format.

Last updated: Tue, May 26, 2026 11:45:10AM (UTC)

On this page