Skip to content

kenany/is-finite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-finite

Lo-Dash's isFinite function as a component.

browser support

Installation

$ component install KenanY/is-finite

API

var isFinite = require('is-finite');

isFinite(value)

Checks if value is, or can be coerced to, a finite number.

Note that this is not the same as native isFinite which will return true for booleans and empty strings. See http://es5.github.io/#x15.1.2.5.