ParamMap
interface
stable
A map that provides access to the required and optional parameters
specific to a route.
The map supports retrieving a single value with get()
or multiple values with getAll().
has
booleanReports whether the map contains a given parameter.
@paramname
stringThe parameter name.
@returns
booleanget
string | nullRetrieves a single value for a parameter.
@paramname
stringThe parameter name.
@returns
string | nullgetAll
string[]Retrieves multiple values for a parameter.
@paramname
stringThe parameter name.
@returns
string[]keys
string[]Names of the parameters in the map.
Jump to details