Returns a function that wraps a string with a given string.
String to wrap with.
Function that wraps a string with a given string.
const wrapWithAsterisks = wrapWith('*');wrapWithAsterisks('hello'); // returns '*hello*' Copy
const wrapWithAsterisks = wrapWith('*');wrapWithAsterisks('hello'); // returns '*hello*'
Generated using TypeDoc
Returns a function that wraps a string with a given string.