cleanUrl

Function

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

  • cleanUrl(url: string) : string

Parameters

Parameter Type Default Notes
url Required string

Returns

string


Function defined in packages/arcgis-rest-request/src/utils/clean-url.ts:7