Module cuttlefish_enum

Data Types

enum()

enum() = {enum, enum_list()}

enum_list()

enum_list() = [{atom() | string(), term()}]

strict_enum()

strict_enum() = {enum, strict_enum_list()}

strict_enum_list()

strict_enum_list() = [{string(), term()}]

Function Index

parse/2
to_string/2

Function Details

parse/2

parse(Value::term(), Enum::enum()) -> term() | cuttlefish_error:error()

to_string/2

to_string(Value::string() | atom(), Enum::enum()) -> string() | cuttlefish_error:error()


Generated by EDoc