- insert<S, T>(ref): ((index) => ((value) => Mut<S, never[]>))
Returns ((index) => ((value) => Mut<S, never[]>))
The inserting operation.
- (index): ((value) => Mut<S, never[]>)
Returns ((value) => Mut<S, never[]>)
- (value): Mut<S, never[]>
Returns Mut<S, never[]>
Updates an item at
index
withvalue
in the segment tree onMut
.