boolnum~ Reference

Converts the input to a boolean value.

boolnum~

Arguments

Input [auto]

Optional

Value to be converted to a boolean

Inlets

Input [auto]

Value to be converted to a boolean

Outlets

Boolean Output [signal]

Outputs 1 for non-zero inputs and 0 if the input is zero

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

reset [bang] (default: 0)

Banging this attribute will reset the object to its default state.

val [auto]

Value to be converted to a boolean

See Also

Name Description
boolnum Converts the input to a boolean value.
cond~ Conditional operator
eq~ Equals operator
and~ logical AND operator
or~ Performs a logical OR