Dry.Types.Bool (dry v0.1.9)

Represents the bool type

Examples:

schema do
  ttribute :field_1, Types.Bool
  attribute :field_2, Types.Bool.options(optional: true)
  attribute :field_3, Types.Bool.options(default: false)
end

Link to this section Summary

Functions

Valid options are :default and :optional

Link to this section Functions

Link to this function

options(opts \\ [])

Valid options are :default and :optional