Variable: dropConcur
const
dropConcur:SubConcur
Defined in: splices.d.ts:249
Returns a concur iterable containing the values of concurIterable
in
iteration order except for the first count
values.
If the count
is greater than the number of values in concurIterable
, then
an empty concur iterable is returned.
Throws
if count
isn't a non-negative integer.
Example
console.log(
await pipe(
asConcur([1, 2, 3, 4, 5, `sloth`]),
dropConcur(3),
reduceConcur(toArray()),
),
)
//=> [ 4, 5, 'sloth' ]
Since
v0.0.2