Croma.String (croma v0.12.0)

View Source

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

Functions

Simply checks the argument's type using is_binary(var!(x)).

Types

t()

@type t() :: String.t()

Functions

valid?(x)

@spec valid?(term()) :: boolean()

Simply checks the argument's type using is_binary(var!(x)).