class Opto::Types::Boolean

A boolean value.

Options:

:truthy an array of strings / values that are converted to True.
:nil_is by default false
:blank_is by default false too
:as by default outputs a string. integer outputs a number, true_or_nil outputs true or nil. set to nil to just output whatever is in :true and :false
:true says "true" by default when outputting a string
:false says "false" by default when outputting a string