Package: effect
Module: MutableList
Removes up to n elements from the beginning of the MutableList without
returning them.
When to use
Use to discard a bounded number of values from the head of a MutableList
when the removed values are not needed.
Details
If n is less than or equal to zero, or the list is empty, the list is left
unchanged. If n is greater than or equal to the current length, the list is
cleared.
See
takeN for removing up to n values and returning them as an arrayclear for removing every value from the listSignature
declare const takeNVoid: <A>(self: MutableList<A>, n: number) => void
Since v4.0.0