is
The is() function checks whether a value is an instance of TheDate.
Interactive example
Syntax
typescript
function is(input: unknown): input is TheDateParameters
input: Value to test.
Return value
true if the value is an instance of TheDate, otherwise false.
See also
create- Builds aTheDatefrom native valuesisSafeTimestamp- Checks the timestamp range
