UNPKG

@stdlib/esm

Version:

ES module distribution for Stdlib, a standard library for JavaScript and Node.js.

3 lines 819 B
// This file is a part of stdlib. License is Apache-2.0: http://www.apache.org/licenses/LICENSE-2.0 import n from"./../../assert/is-function.js";var r=n;function t(n,t,e,a){var u,i;if(!r(n))throw new TypeError("invalid argument. First argument must be a function. Value: `"+n+"`.");if(!r(t))throw new TypeError("invalid argument. Second argument must be a function. Value: `"+t+"`.");if(!r(e))throw new TypeError("invalid argument. Third argument must be a function. Value: `"+e+"`.");function l(n){var r;if(n)return e(n);if(i+=1,arguments.length>1)for(u=new Array(arguments.length-1),r=1;r<arguments.length;r++)u[r-1]=arguments[r];t(i,o)}function o(r,t){return r?e(r):t?(u.length&&u.unshift(null),void e.apply(null,u)):n.call(a,i,l)}u=[],i=0,n.call(a,i,l)}var e=t;export default e; //# sourceMappingURL=do-until.js.map