MCPcopy
hub / github.com/tdewolff/minify / isNumeric

Function isNumeric

_benchmarks/sample_echarts.js:7070–7072  ·  view source on GitHub ↗

* Definition of "numeric": see `numericToNumber`.

(val)

Source from the content-addressed store, hash-verified

7068 */
7069
7070 function isNumeric(val) {
7071 return !isNaN(numericToNumber(val));
7072 }
7073 /**
7074 * Use random base to prevent users hard code depending on
7075 * this auto generated marker id.

Callers 3

isValidIdOrNameFunction · 0.70
addCommasFunction · 0.70
prepareLayoutInfoFunction · 0.70

Calls 2

isNaNFunction · 0.85
numericToNumberFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…