isNumber

  • function
 

Checks to see if the provided item is a valid number or not

Lang.isNumber(thing)

Checks to see if the provided item is a valid number or not

Parameters

  1. thing

    {Array|String|Object} item to be tested for its value as a number

Returns

{Boolean}

will return true if thing is a valid number. Otherwise it will return false.