effect-io-ai

Package: effect
Module: Stream

Stream.dropRight

Drops the last specified number of elements from this stream.

Signature

declare const dropRight: { (n: number): <A, E, R>(self: Stream<A, E, R>) => Stream<A, E, R>; <A, E, R>(self: Stream<A, E, R>, n: number): Stream<A, E, R>; }

Source

Since v2.0.0