View Source Vx (Vx v0.1.0)

Vx is a schema validation library.

Summary

Functions

Validates a value against a given schema.

Validates a value against a given schema. Raises on error.

Types

Functions

@spec validate(t(), any()) :: :ok | {:error, Vx.Error.t()}

Validates a value against a given schema.

Link to this function

validate!(schema, value)

View Source
@spec validate!(t(), any()) :: :ok | no_return()

Validates a value against a given schema. Raises on error.