* Retrieves the first value for a parameter. * @param param The parameter name. * @returns The first value of the given parameter, * or `null` if the parameter is not present.
(param: string)
| 195 | * or `null` if the parameter is not present. |
| 196 | */ |
| 197 | get(param: string): string | null { |
| 198 | this.init(); |
| 199 | const res = this.map!.get(param); |
| 200 | return !!res ? res[0] : null; |
| 201 | } |
| 202 | |
| 203 | /** |
| 204 | * Retrieves all values for a parameter. |