MCPcopy Create free account
hub / github.com/devin87/Q.js / checkNum

Function checkNum

Q.js:170–177  ·  view source on GitHub ↗

* 判断是否是符合条件的数字 * @param {string|number} str 要检测的字符串或数字 * @param {number|undefined} min 允许的最小值 * @param {number|undefined} max 允许的最大值 * @param {number|undefined} max_decimal_len 最大小数位数

(str, min, max, max_decimal_len)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

isNumFunction · 0.70

Tested by

no test coverage detected