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

Method isNaN

mini_program/common/Tools.js:243–245  ·  view source on GitHub ↗

* 判断某个元素是否为自然数 * @param {Number} value * @return {Boolean}

(value)

Source from the content-addressed store, hash-verified

241 * @return {Boolean}
242 */
243 isNaN(value) {
244 return this.isNumber(value) && value != +value
245 }
246
247 /**
248 * 判断某个元素是否为错误类型

Callers

nothing calls this directly

Calls 1

isNumberMethod · 0.95

Tested by

no test coverage detected