MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / isDom

Function isDom

libs/echarts/echarts.simple.js:723–727  ·  view source on GitHub ↗

* @memberOf module:zrender/core/util * @param {*} value * @return {boolean}

(value)

Source from the content-addressed store, hash-verified

721 * @return {boolean}
722 */
723function isDom(value) {
724 return typeof value === 'object'
725 && typeof value.nodeType === 'number'
726 && typeof value.ownerDocument === 'object';
727}
728
729/**
730 * Whether is exactly NaN. Notice isNaN('a') returns true.

Callers 3

cloneFunction · 0.70
mergeFunction · 0.70
initFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected