Packages

A data validation library for Elixir based on Prismatoc Scheme

Current section

Files

Jump to
shape lib pid.ex
Raw

lib/pid.ex

defmodule Shape.Pid do
@moduledoc """
Uses is_pid to detect if the item is a pid.
"""
def validate(obj) do
Kernel.is_pid(obj)
end
def desc() do
"pid"
end
end