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