datalad_next.constraints.EnsureBool
- class datalad_next.constraints.EnsureBool[source]
Bases:
Constraint
Ensure that an input is a bool.
A couple of literal labels are supported, such as: False: '0', 'no', 'off', 'disable', 'false' True: '1', 'yes', 'on', 'enable', 'true'