ConsumedVar
sourceRepresents an environment variable that has been read and parsed.
Constructors
new ConsumedVar<T>(name: string, internalValue: undefined | T, isRequired: boolean): ConsumedVarsource
Properties
internalValue: undefined | Tsource
isRequired: booleansource
name: stringsource
Methods
Instance methods
requiredIf(other: ConsumedVar): ConsumedVarsource
Declares that if the dependent variable is true and this variable is not set or defaulted, an error should be produced.
value(): Tsource