UrlPattern

Source
import { UrlPattern } from "@prestojs/routing";

API

Constructor

new UrlPattern(pattern)
Params:
ParameterTypeDescription
*patternstring

Methods

resolve(?kwargs,?options)
Params:
ParameterTypeDescription
kwargskwargs
options
An object with the properties below
options.queryquery
Returns:string

Properties

pattern

Source
string

requiredArgNames

Source
string[]

validArgNames

Source
string[]