Packages

A data validation library for Elixir based on Prismatoc Scheme

Current section

Files

Jump to
shape lib str.ex
Raw

lib/str.ex

defmodule Shape.Str do
@moduledoc """
Uses is_bitstring to detect if the item is a string.
"""
def validate(obj) do
Kernel.is_bitstring(obj)
end
def desc() do
"string"
end
end