StringExtensions extension

on

Methods

prefixWithSlash() String

Available on String, provided by the StringExtensions extension

If the string is not already prefixed with a slash, prefix it with one.