Radix.keys
You're seeing just the function
keys
, go back to Radix module for more information.
Specs
Returns a list of all keys from the radix tree
.
Example
iex> t = new([
...> {<<1, 1, 1, 0::1>>, "1.1.1.0/25"},
...> {<<1, 1, 1, 1::1>>, "1.1.1.128/25"},
...> {<<1, 1, 1>>, "1.1.1.0/24"},
...> {<<3>>, "3.0.0.0/8"},
...> ])
iex> keys(t)
[<<1, 1, 1, 0::1>>, <<1, 1, 1>>, <<1, 1, 1, 1::1>>, <<3>>]