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