MCPcopy Create free account
hub / github.com/deepch/RTSPtoWebRTC / isNumeric

Function isNumeric

web/static/js/bootstrap.bundle.js:2613–2615  ·  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

2611 * @return {Boolean}
2612 */
2613 function isNumeric(n) {
2614 return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);
2615 }
2616
2617 /**
2618 * 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