UNPKG

@jrc03c/js-math-tools

Version:
6 lines (4 loc) 117 B
function isNumber(x) { return (typeof x === "number" && !isNaN(x)) || typeof x === "bigint" } export { isNumber }