UNPKG

react-async-iterators

Version:

The magic of JavaScript async iterators in React ⛓️ 🧬 🔃

9 lines 321 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.callWithArgsOrReturn = callWithArgsOrReturn; function callWithArgsOrReturn(value, ...argsToPass) { return typeof value !== 'function' ? value : value(...argsToPass); } //# sourceMappingURL=callWithArgsOrReturn.js.map