Packages

A data validation library for Elixir based on Prismatoc Scheme

Current section

Files

Jump to
shape lib float.ex
Raw

lib/float.ex

defmodule Shape.Float do
@moduledoc """
Uses is_float to detect if the item is a float.
"""
def validate(obj) do
Kernel.is_float(obj)
end
def desc() do
"float"
end
end