Lang
Isfinite

_.isFinite(value)

Checks if value is a finite primitive number.

Note: This method is based on Number.isFinite.

Arguments

value (*): The value to check.

Returns

(boolean): Returns true if value is a finite number, else false.

Example

MDN