Link Search Menu Expand Document

Table of contents


takeLast (function)

Similar to R.takeLast, but doesn’t work with strings

Signature

export function takeLast(i: number): <A>(as: Array<A>) => Array<A>;
export function takeLast<A>(i: number, as: Array<A>): Array<A>; { ... }

Added in v0.1.2