Zodish.Type.Boolean (zodish v0.2.4)

View Source

This module describes a Zodish boolean type.

Summary

Functions

Either enables or disables coercion for the given Boolean type.

Creates a new Boolean type.

Types

t()

@type t() :: %Zodish.Type.Boolean{coerce: boolean()}

Functions

coerce(type, value \\ true)

Either enables or disables coercion for the given Boolean type.

new(opts \\ [])

Creates a new Boolean type.