URLPatternResult
URLPatternResult
is the object returned from URLPattern.exec
.
interface URLPatternResult {
hash
: URLPatternComponentResult;
hostname
: URLPatternComponentResult;
inputs
: [URLPatternInit] | [URLPatternInit, string];
password
: URLPatternComponentResult;
pathname
: URLPatternComponentResult;
port
: URLPatternComponentResult;
protocol
: URLPatternComponentResult;
search
: URLPatternComponentResult;
username
: URLPatternComponentResult;
}
Properties
hash
: URLPatternComponentResult
The matched result for the hash
matcher.
hostname
: URLPatternComponentResult
The matched result for the hostname
matcher.
inputs
: [URLPatternInit] | [URLPatternInit, string]
The inputs provided when matching.
password
: URLPatternComponentResult
The matched result for the password
matcher.
pathname
: URLPatternComponentResult
The matched result for the pathname
matcher.
port
: URLPatternComponentResult
The matched result for the port
matcher.
protocol
: URLPatternComponentResult
The matched result for the protocol
matcher.
search
: URLPatternComponentResult
The matched result for the search
matcher.
username
: URLPatternComponentResult
The matched result for the username
matcher.
© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/URLPatternResult