Packages

Shapex is a library for validating data structures in Elixir.

Current section

Files

Jump to
shapex lib types any.ex
Raw

lib/types/any.ex

defmodule Shapex.Types.Any do
@moduledoc """
This module provides a type for validating any value.
"""
@behaviour Shapex.Type
@type t :: %__MODULE__{}
defstruct []
@impl Shapex.Type
def validate(_, _), do: :ok
end