UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

8 lines (7 loc) 188 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.rest = void 0; function rest(coll) { return coll.slice(0, coll.length - 1); } exports.rest = rest;