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

Function isObject

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

Source from the content-addressed store, hash-verified

22 * @returns {boolean} True if value is an Object, otherwise false
23 */
24export function isObject (val) {
25 return val !== null && typeof val === 'object'
26}
27
28/**
29 * Determine if a value is a Date

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected