
scripts.node_modules.popper.js.src.utils.isNumeric.js Maven / Gradle / Ivy
The newest version!
/**
* Tells if a given input is a number
* @method
* @memberof Popper.Utils
* @param {*} input to check
* @return {Boolean}
*/
export default function isNumeric(n) {
return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy