globalconst v0.3.1 GlobalConst View Source

Documentation for GlobalConst.

Link to this section Summary

Functions

Examples

key_type: :any, :atom

iex> GlobalConst.new(GlobalMap, %{a: 1, b: 2}, [key_type: :any])
GlobalMap

Link to this section Functions

Link to this function cmp(module_name, other, opt) View Source
Link to this function new(module_name, values) View Source

Examples

iex> GlobalConst.new(GlobalMap, %{a: 1, b: 2})
GlobalMap
Link to this function new(module_name, values, opt) View Source

Examples

key_type: :any, :atom

iex> GlobalConst.new(GlobalMap, %{a: 1, b: 2}, [key_type: :any])
GlobalMap