effect-tree
Preparing search index...
index
filterLeaves
Variable filterLeaves
Const
filterLeaves
:
<
A
>
(
predicate
:
Predicate.Predicate
<
A
>
,
)
=>
(
self
:
Tree
<
A
>
)
=>
Tree
<
A
>
= ...
Filter leaves so that only those satisfying the given predicate remain.
Type Declaration
<
A
>
(
predicate
:
Predicate.Predicate
<
A
>
)
:
(
self
:
Tree
<
A
>
)
=>
Tree
<
A
>
Type Parameters
A
Parameters
predicate
:
Predicate.Predicate
<
A
>
Returns
(
self
:
Tree
<
A
>
)
=>
Tree
<
A
>
Settings
Member Visibility
Internal
Theme
OS
Light
Dark
effect-tree
Loading...
Filter leaves so that only those satisfying the given predicate remain.