Documentation - v6.7.1
Preparing search index...
@datadog/js-core
util
getPathName
Function getPathName
getPathName
(
url
:
string
)
:
string
Extracts the pathname from a URL, ensuring it starts with
/
.
Parameters
url
:
string
Returns
string
Settings
Theme
OS
Light
Dark
Documentation - v6.7.1
Loading...
Extracts the pathname from a URL, ensuring it starts with
/.