pyre.schemata.Boolean

Module Contents

class pyre.schemata.Boolean.Boolean(default=True, **kwds)

Bases: pyre.schemata.Numeric.Numeric

A type declarator for booleans

typename = bool
complaint = could not coerce {0.value!r} to bool
xlat
coerce(self, value, **kwds)

Convert {value} into a boolean