Packages

A data validation library for Elixir based on Prismatoc Scheme

Current section

Files

Jump to
shape lib binary.ex
Raw

lib/binary.ex

defmodule Shape.Binary do
@moduledoc """
Uses is_binary to detect if the item is a binary.
"""
def validate(obj) do
Kernel.is_binary(obj)
end
def desc() do
"binary"
end
end