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

B.isBool

to check the initial value for being of the logic type

Syntax

B.isBool (operand)

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


Example:

var check = B.isBool(0); // returns "true"