isDate

function isDate(x): x is Date

Parameters

ParameterType
xunknown

Returns

x is Date