@hexafuchs/what.js
Preparing search index...
assertIsNotDate
Function assertIsNotDate
assertIsNotDate
<
T
>
(
object
:
Date
|
T
)
:
asserts
object
is
T
Asserts the object is not a date.
Keep in mind that Date.now() returns a number, not a date object.
Type Parameters
T
Parameters
object
:
Date
|
T
Returns
asserts
object
is
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@hexafuchs/what.js
Loading...
Asserts the object is not a date.
Keep in mind that Date.now() returns a number, not a date object.