Croma.String
Module that represents the Elixir’s built-in String.t type. Intended to be used with other parts of croma to express String.t variables.
Summary↑
validate(value) | Simply checks the argument’s type using |
Types ↑
t :: :"String.t"
Functions
Specs:
- validate(term) :: Croma.Result.t(t)
Simply checks the argument’s type using is_binary/1
and returns a Croma.Result
.