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

Method isBoolean

mini_program/common/Tools.js:169–171  ·  view source on GitHub ↗

* 判断某个元素是否为布尔值 * @param {boolean} value * @return {Boolean}

(value)

Source from the content-addressed store, hash-verified

167 * @return {Boolean}
168 */
169 isBoolean(value) {
170 return typeof value === 'boolean'
171 }
172
173 /**
174 * 判断某个元素是否为Promise对象

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected