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

Function isArray

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

Source from the content-addressed store, hash-verified

11 * @returns {boolean} True if value is an Array, otherwise false
12 */
13export function isArray (val) {
14 return toString.call(val) === '[object Array]'
15}
16
17
18/**

Callers 1

forEachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected