Skip to content

isNumber

isNumber(dataValue) ⇒ boolean

Check if value is Number

Kind: global function

ParamTypeDescription
dataValuenumberinput value

Example

js
import isNumber from '@hiperf/validate/isNumber';

isNumber(5); // true
isNumber('f'); // false