Skip to content

isSerializedTheTime

The isSerializedTheTime() function checks whether a string is a valid SerializedTheTime.

Interactive example

Syntax

typescript
function isSerializedTheTime(input: string): input is SerializedTheTime

Parameters

  • input: String to validate.

Return value

true if the value matches SerializedTheTime, otherwise false.

See also

Released under the MIT license.