The as_bool function#

Aliases#

halerium.core.as_bool
halerium.core.math.as_bool
as_bool(operand)#

Casting to bool.

Parameters:

operand – The input of the operation.

Returns:

operator – The halerium Operator representing the operation.

Return type:

halerium.core.operator.AsBool