isFinite

Lang
since 0.1.0

Arguments

  • * The value to check.

Returns

boolean `true` if `value` is a finite number, else `false`.

Checks if value is a finite primitive number.

Note: This method is based on Number.isFinite.

Example of Lodash _.isFinite

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

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

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

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