Zodish.Type.Atom (zodish v0.2.4)

View Source

This module describes a Zodish atom type.

Summary

Functions

Either enables or disables coercion for the given Atom type.

Creates a new Atom type.

Types

t()

@type t() :: %Zodish.Type.Atom{coerce: boolean() | :unsafe}

Functions

coerce(type, value \\ true)

Either enables or disables coercion for the given Atom type.

new(opts \\ [])

Creates a new Atom type.