@stdlib/esm
Version:
ES module distribution for Stdlib, a standard library for JavaScript and Node.js.
3 lines • 807 B
JavaScript
// 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,u){var a,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 o(n,r){return n?e(n):r?t.call(u,i,l):(a.length&&a.unshift(null),void e.apply(null,a))}function l(r){var t;if(r)return e(r);if(i+=1,arguments.length>1)for(a=new Array(arguments.length-1),t=1;t<arguments.length;t++)a[t-1]=arguments[t];n(i,o)}a=[],n(i=0,o)}var e=t;export default e;
//# sourceMappingURL=while.js.map