Skip to content

isSerializedTheDate

The isSerializedTheDate() function checks whether a string is a valid SerializedTheDate.

Interactive example

Syntax

typescript
function isSerializedTheDate(input: string): input is SerializedTheDate

Parameters

  • input: String to validate.

Return value

true if the value matches SerializedTheDate, otherwise false.

See also

Released under the MIT license.