croma v0.7.0 Croma.Byte View Source

Module that represents the Elixir’s built-in byte type. Intended to be used with other parts of croma to express byte variables.

Link to this section Summary

Functions

Simply checks the argument’s type using var!(x) in 0..255

Simply checks the argument’s type using var!(x) in 0..255 and returns a Croma.Result

Link to this section Types

Link to this section Functions

Link to this function valid?(value) View Source
valid?(term) :: boolean

Simply checks the argument’s type using var!(x) in 0..255.

Link to this function validate(value) View Source
validate(term) :: Croma.Result.t(t)

Simply checks the argument’s type using var!(x) in 0..255 and returns a Croma.Result.