@mikuroxina/mini-fn
Preparing search index...
BinaryHeap
empty
Function empty
empty
<
S
,
T
>
(
order
:
TypeClass
.
Ord
.
Ord
<
T
>
,
)
:
Mut
.
Mut
<
S
,
MutRef
<
S
,
BinaryHeap
.
BinaryHeap
<
T
>
>
>
Creates a new empty min-heap.
Type Parameters
S
T
Parameters
order
:
TypeClass
.
Ord
.
Ord
<
T
>
A total order for
T
.
Returns
Mut
.
Mut
<
S
,
MutRef
<
S
,
BinaryHeap
.
BinaryHeap
<
T
>
>
>
The new empty heap.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@mikuroxina/mini-fn
Loading...
Creates a new empty min-heap.