effect-io-ai

Package: effect
Module: List

List.take

Takes the specified number of elements from the beginning of the specified list.

Signature

declare const take: { (n: number): <A>(self: List<A>) => List<A>; <A>(self: List<A>, n: number): List<A>; }

Source

Since v2.0.0