boolean
boolean |
Purpose
Declare the entity to be (or to contain) boolean (
True or
False) values. If not specified, the default value is
False.
Example
Example of declaring a scalar entity to be boolean.
>>> my_bool: xi.Scalar(dtype=xi.boolean) ... my_bool: xi.Scalar(False) ... my_bool: xi.Scalar(True)
Related topics