6 lines
110 B
JavaScript
6 lines
110 B
JavaScript
|
"use strict";
|
||
|
|
||
|
module.exports = function (value) {
|
||
|
return (typeof value === "number") && isFinite(value);
|
||
|
};
|