@indlekofer/is_numeric
v1.1.1
Published
is numeric
Downloads
7
Readme
@indlekofer/is_numeric
returns true for numbers (int, float) and strings containing only numbers (space is not a number). false for boolean, undefined, null, empty strings, invalid strings, +/-infinity
Usage
import isNumeric from '@indlekofer/is_numeric';
console.log(isNumeric("100")); // -> true
Params
data: string|number
Return
boolean