Package: effect
Module: Array
Drop a max number of elements from the start of an Iterable, creating a new Array.
Note. n is normalized to a non negative integer.
Example
import { Array } from "effect"
const result = Array.drop([1, 2, 3, 4, 5], 2)
console.log(result) // [3, 4, 5]
Signature
declare const drop: { (n: number): <A>(self: Iterable<A>) => Array<A>; <A>(self: Iterable<A>, n: number): Array<A>; }
Since v2.0.0