Croma.Byte (croma v0.12.0)

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.

Summary

Functions

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

Types

t()

@type t() :: byte()

Functions

valid?(x)

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

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