To Boolean
==========
Truthiness coercion: non-zero numbers and non-empty values become 1, else 0.
``to_boolean`` · base
.. raw:: html
Inputs
------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``in``
- any
- —
- —
Outputs
-------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``y``
- signal
- —
- —