Edit this page

up.util up.util.isNumber(object)
JavaScript function

Returns whether the given argument is a number.

Note that this will check the argument's type. It will return false for a string like "123".

Parameters

object

Return value

boolean