1 | ;
|
2 |
|
3 | /**
|
4 | * Checks whether a value is a number and it's finite
|
5 | *
|
6 | * @function finite
|
7 | *
|
8 | * @example
|
9 | * var is = require('predicates');
|
10 | *
|
11 | * is.finite(1); // false
|
12 | * is.finite(Infinity); // false
|
13 | *
|
14 | * @param {*} value
|
15 | * @returns {Boolean}
|
16 | */
|
17 | module.exports = require('./finite/native') || require('./finite/polyfill');
|