isValid(
value?):boolean
Defined in: src/parser/parser.ts:58
Checks if value is a valid date which in this context means that it is either
a DateTime instance or it can be parsed by parse function.
Parameters
| Parameter | Type |
|---|---|
value? |
string | DateTime |
Returns
boolean
Previous
Next