API Reference Veli v0.2.7

modules

Modules

Veli is a simple validation library for elixir.

This macro allows you define rule and add a validator function inside of it.

Custom struct for validator list lookup.

Custom struct for validator map lookup.

Empty value validator.

String format validator.

Inside validator.

Match validator. Uses regex if match value is a regex sigil. Otherwise compares both values.

Max validator.

Min validator.

Nullable validator.

Outside validator.

Allows you to add custom filter function. Any other value than false will computed as true.

Type validator. Takes an atom that contains type information.