MCPcopy Create free account
hub / github.com/circircir-circle/human_exist_device / isDefined

Method isDefined

mini_program/common/Tools.js:207–209  ·  view source on GitHub ↗

* 判断某个元素是否为defined * @param {undefined} value * @return {Boolean}

(value)

Source from the content-addressed store, hash-verified

205 * @return {Boolean}
206 */
207 isDefined(value) {
208 return typeof value !== 'undefined'
209 }
210
211 /**
212 * 判断某个元素是否为undefined

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected