UNPKG

@constantiner/fun-ctional

Version:

The library brings most of the familiar functional techniques (like functional composition) to asynchronous world with shining Promises

3 lines (2 loc) 445 B
!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n=n||self).funCtional=e()}(this,function(){"use strict";var o=Symbol.for("Custom Promise Handling Support");return function(e,t){return function(n,e){return n[o]=e,n}(function(n){return Promise.resolve(n).then(e).catch(t)},function(n){return n.then(e).catch(t)})}}); //# sourceMappingURL=applySafe.min.js.map