boolnum
Converts the input to a boolean value.
boolnum(val): out1Arguments:
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| val | bool | Value to be converted to a boolean |
Returns
| Name | Type | Description |
|---|---|---|
| out1 | bool | Outputs 1 for non-zero inputs and 0 if the input is zero |
Aliases
bbool