UNPKG

moltres-utils

Version:
19 lines (15 loc) 377 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _ramda = require("ramda"); const applyIfHas = (0, _ramda.curry)((prop, fn, value) => { if ((0, _ramda.has)(prop, value)) { return fn(value); } return value; }); var _default = applyIfHas; exports.default = _default; //# sourceMappingURL=applyIfHas.js.map