effect-tree - v1.0.36
Preparing search index...
Codec
Paths
encode
Function encode
encode
<
A
>
(
tree
:
Tree
<
A
>
)
:
[
[
A
,
...
A
[]
]
,
...
[
A
,
...
A
[]
]
[]
]
Encode a tree of type
A
into a non-empty list of paths to every leaf in the encoded tree.
Type Parameters
A
Parameters
tree
:
Tree
<
A
>
Returns
[
[
A
,
...
A
[]
]
,
...
[
A
,
...
A
[]
]
[]
]
Settings
Member Visibility
Internal
Theme
OS
Light
Dark
effect-tree - v1.0.36
Loading...
Encode a tree of type
Ainto a non-empty list of paths to every leaf in the encoded tree.