system_registry v0.6.1 SystemRegistry.Node
Link to this section Summary
Functions
Return the leaf nodes in full path form
Link to this section Types
Link to this section Functions
Link to this function
binding(key, scope)
Link to this function
inodes(node)
Link to this function
is_leaf?(node)
Link to this function
leaf(node, opts \\ [])
Link to this function
leaf_nodes(map)
Return the leaf nodes in full path form.
Examples
iex> SystemRegistry.Node.leaf_nodes(%{a: 2}) [[:a]]
iex> SystemRegistry.Node.leaf_nodes(%{a: %{b: 1, c: %{d: 2}}}) [[:a, :b], [:a, :c, :d]]
iex> SystemRegistry.Node.leaf_nodes(%{}) []
Link to this function
parent(node)
Link to this function
trim_tree(value, path, bind_key)