Methods
Static match
- match(url: string, tests: boolean | (string | RegExp)[]): boolean
-
Parameters
-
url: string
-
tests: boolean | (string | RegExp)[]
Returns boolean
Static parse
- parse(__namedParameters: Location): any
-
Parameters
-
__namedParameters: Location
Returns any
Static resolve
- resolve(path: string): string
-
Parameters
Returns string
Static url
- url(base: string, params?: {}): string
-
Parameters
-
base: string
-
Optional params: {}
Returns string
the built url
Outputs a result equivalent to
location.origin