View Source Shapex.Types.Boolean (shapex v0.3.1)
This module provides a type for validating booleans.
It's better to use the Shapex.Types.boolean/1 function to create a schema, since it covers implementation details and provides a more user-friendly API.
Summary
Types
@type t() :: %Shapex.Types.Boolean{eq: boolean_or_tuple()}