Xema.Builder.boolean

You're seeing just the function boolean, go back to Xema.Builder module for more information.

Specs

boolean() :: :boolean

Returns :boolean.

Specs

boolean(keyword()) :: {:boolean, keyword()}

Returns a tuple of :boolean and the given keyword list.

Examples

iex> Xema.Builder.boolean(key: 42)
{:boolean, key: 42}