Returns a string that concat the given prefix and text
Optional
the text to check
the prefix to prepend
a string that concat the given prefix and text
prependIfMissing('bar', 'foo'); // 'foobar'prependIfMissing('foobar', 'foo'); // 'foobar' Copy
prependIfMissing('bar', 'foo'); // 'foobar'prependIfMissing('foobar', 'foo'); // 'foobar'
Returns a string that concat the given prefix and text