Материал из 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"
