UNPKG

@stdlib/string-format

Version:

Insert supplied variable values into a format string.

8 lines (7 loc) 578 B
"use strict";var i=function(e,r){return function(){return r||e((r={exports:{}}).exports,r),r.exports}};var u=i(function(c,n){ function g(e){return typeof e=="string"}n.exports=g });var o=i(function(q,s){ var p=require('@stdlib/string-base-format-interpolate/dist'),l=require('@stdlib/string-base-format-tokenize/dist'),m=u();function a(e){var r,t;if(!m(e))throw new TypeError(a('1Of3F',e));for(r=[l(e)],t=1;t<arguments.length;t++)r.push(arguments[t]);return p.apply(null,r)}s.exports=a });var v=o();module.exports=v; /** @license Apache-2.0 */ //# sourceMappingURL=index.js.map