Latest
function default
import { default } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/isSafeInteger.js";

Checks if value is a safe integer. An integer is safe if it's an IEEE-754 double precision number which isn't the result of a rounded unsafe integer.

Note: This method is based on Number.isSafeInteger.

Examples

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

_.isSafeInteger(Number.MIN_VALUE); // => false

_.isSafeInteger(Infinity); // => false

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

Parameters

value

The value to check.