Basic string formatting, akin to sprintf or util.format, but limited. Only supports %o for arrays, %j for objects, %s for strings and %d for numbers.
sprintf
util.format
%o
%j
%s
%d
You should really be using template literals instead (developer's note to self, lol).
Formatted string
Input
Rest
Arguments
Generated using TypeDoc
Basic string formatting, akin to
sprintf
orutil.format
, but limited. Only supports%o
for arrays,%j
for objects,%s
for strings and%d
for numbers.You should really be using template literals instead (developer's note to self, lol).
Returns
Formatted string