UNPKG

@nozbe/watermelondb

Version:

Build powerful React Native and React web apps that scale from hundreds to tens of thousands of records and remain fast

18 lines (17 loc) 375 B
"use strict"; exports.__esModule = true; exports.default = void 0; function pipe(...fns) { var fnsLen = fns.length; return function (...args) { var result; if (fnsLen) { result = fns[0].apply(fns, args); for (var i = 1; i < fnsLen; i++) { result = fns[i](result); } } return result; }; } var _default = exports.default = pipe;