isDate
Checks if a value is a Date instance.
Note: this only checks the type, not whether the Date is valid.
Use date/isValid to also validate that the Date is not Invalid Date.
Available since v2.0.0
Import
Section titled “Import”Signature
Section titled “Signature”Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
value | unknown | The value to check |
Returns
Section titled “Returns”value is Date — True if value is a Date instance
