Материал из Module developer
Перейти к: навигация, поиск

B.isNumber

to check the initial value for being a number

Syntax

B.isNumber (operand)

input sample description
operand 123 type: Operand
the initial value
output
Boolean type: Boolean
the result: 0 - not a number, 1 - a number


Example:

var check = B.isNumber(123); // returns "true"