MCPcopy Create free account
hub / github.com/CoderOpen/waimai / isDate

Function isDate

front/utils/luch-request/utils.js:34–36  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

32 * @returns {boolean} True if value is a Date, otherwise false
33 */
34export function isDate (val) {
35 return toString.call(val) === '[object Date]'
36}
37
38/**
39 * Determine if a value is a URLSearchParams object

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected