MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / isNumeric

Function isNumeric

static/plugins/bootstrap/js/bootstrap.bundle.js:2625–2627  ·  view source on GitHub ↗

* Tells if a given input is a number * @method * @memberof Popper.Utils * @param {*} input to check * @return {Boolean}

(n)

Source from the content-addressed store, hash-verified

2623 * @return {Boolean}
2624 */
2625 function isNumeric(n) {
2626 return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);
2627 }
2628
2629 /**
2630 * Set the style to the given popper

Callers 3

setStylesFunction · 0.85
parseOffsetFunction · 0.85
offsetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected