/** * Takes the last `n` elements. * * @tsplus static Chunk.Aspects takeRight * @tsplus pipeable Chunk takeRight */ export function takeRight(n: number) { return (self: Chunk): Chunk => self.drop(self.size - n) }