* Maps the environment variables. If the mapper function returns undefined, * the value is not included in the resulting set of variables.
(mapper: (key: string, value: string | null) => string | null | undefined)
| 128 | * the value is not included in the resulting set of variables. |
| 129 | */ |
| 130 | public map(mapper: (key: string, value: string | null) => string | null | undefined) { |
| 131 | return new EnvironmentVars(mapValues(this.value, (v, k) => mapper(k, v))); |
| 132 | } |
| 133 | |
| 134 | /** |
| 135 | * Merges the sets of environment variables together. |