cleanUrl

cleanUrl

cleanUrl(urlstring): string

Helper method to ensure that user supplied urls don't include whitespace or a trailing slash.

Parameters
ParameterType
url
string
Returns 
string

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.