IsDate
Determine whether a given value is a date object or a date string.
Method Signature
Arguments
Argument
Type
Required
Description
Default
date
any
true
Value to test for date-ness
locale
string
false
Optional ISO locale string to use for parsing the date/time string.
timezone
string
false
Optional timezone to use for parsing the date/time string.
Examples
Related
Last updated