* 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)
| 209 | * or `null` if the parameter is not present. |
| 210 | */ |
| 211 | get(param: string): string | null { |
| 212 | this.init(); |
| 213 | const res = this.map!.get(param); |
| 214 | return !!res ? res[0] : null; |
| 215 | } |
| 216 | |
| 217 | /** |
| 218 | * Retrieves all values for a parameter. |