Skip to content

is

The is() function checks whether a value is an instance of TheDate.

Interactive example

Syntax

typescript
function is(input: unknown): input is TheDate

Parameters

  • input: Value to test.

Return value

true if the value is an instance of TheDate, otherwise false.

See also

Released under the MIT license.