MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / isObject

Function isObject

src/common/util/BaseUtil.js:9–11  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

7}
8
9export function isObject(obj) {
10 return Object.prototype.toString.call(obj) === '[object Object]';
11}
12
13export function isValidLatlng(coord) {
14 return isArray(coord) && coord.length === 2 && coord[0] >= -180 && coord[0] <= 180 && coord[1] >= -90 && coord[1] <= 90;

Callers 7

formatCoordFunction · 0.90
registerActionFunction · 0.50
normalizeRegisterFunction · 0.50
echarts.simple.jsFile · 0.50
registerActionFunction · 0.50
normalizeRegisterFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected