UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

9 lines (8 loc) 237 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.init = void 0; const main_1 = require("./main"); function init(coll) { return (0, main_1.getValueOr)([], coll).slice(0, -1); } exports.init = init;