xema v0.1.1 Xema.Nil View Source

This module contains the struct for the keywords of type nil.

Usually this struct will be just used by xema.

Examples

iex> import Xema Xema iex> schema = xema :nil %Xema{type: %Xema.Nil{}} iex> schema.type == %Xema.Nil{} true

Link to this section Summary

Types

t()

The struct contains the keywords for the type nil

Link to this section Types

Link to this type t() View Source
t() :: %Xema.Nil{as: atom()}

The struct contains the keywords for the type nil.

  • as is used in an error report. Default of as is :nil