Skip to content

@miyue-mma/shared / isDate

函数: isDate()

ts
function isDate(val): val is Date

判断是否为 Date

参数

val

unknown

待判断的值

返回

val is Date

Released under the MIT License.