litmus v0.5.0 API Reference

Modules

Litmus is a data validation library for Elixir

This type provides validation for any type of value

This type validates and converts values to booleans. It converts truthy and falsy values to true or false

This type validates and converts ISO-8601 datetime with timezone strings into DateTimes

This type validates that a value is list

This type validates that values are numbers, and converts them to numbers if possible. It converts “stringified” numerical values to numbers

This type validates and converts values to strings It converts boolean and number values to strings