View Source Vx.Any (Vx v0.4.0)

The Any type.

Summary

Types

t()

The any type.

Functions

t()

Builds a new type that matches anything.

Types

@opaque t()

The any type.

Functions

@spec t() :: t()

Builds a new type that matches anything.

Examples

iex> Vx.Any.t() |> Vx.validate!("foo")
:ok