Module

x/lodash_es/src/lang.js>isNumber

lodash for deno use
Latest
function isNumber
import { isNumber } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/lang.js";

Checks if value is classified as a Number primitive or object.

Note: To exclude Infinity, -Infinity, and NaN, which are classified as numbers, use the _.isFinite method.

Examples

_.isNumber(3); // => true

_.isNumber(Number.MIN_VALUE); // => true

_.isNumber(Infinity); // => true

_.isNumber('3'); // => false

Parameters

value

The value to check.