1.3.0 • Published 7 months ago
@nielse63/is-numeric v1.3.0
@nielse63/is-numeric
Determines if a given value is a number (even if it's a string)
Installation
npm install --save @nielse63/is-numericUsage
API
import isNumeric from '@nielse63/is-numeric';
isNumeric('1'); // true
isNumeric(1); // true
isNumeric(null); // false
isNumeric({}); // false