IsWhat (IsWhat v0.1.2) View Source

Documentation for IsWhat.

Link to this section Summary

Functions

sample_function/1

type?/1

Link to this section Functions

Specs

sample_function(boolean()) :: {:ok, String.t()} | {:error, String.t()}

sample_function/1

Returns tuple

Examples

iex> IsWhat.sample_function(true)
{:ok, "Successfully."}

Specs

type?(any()) :: String.t()

type?/1

Defines the type of the given data.

Examples

iex> IsWhat.type?(true)
"true is boolean."