A parametrized value of Boolean type that will be read from .env files if present, or prompted for by the CLI if missing.
Signature:
export declare class BooleanParam extends Param<boolean>
Extends: Param<boolean>
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| type | static |
ParamValueType |
Methods
| Method | Modifiers | Description |
|---|---|---|
| then(ifTrue, ifFalse) | ||
| thenElse(ifTrue, ifFalse) |
params.BooleanParam.type
Signature:
static type: ParamValueType;
params.BooleanParam.then()
Signature:
then<T extends string | number | boolean>(ifTrue: T | Expression<T>, ifFalse: T | Expression<T>): TernaryExpression<T>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| ifTrue | T | Expression<T> | |
| ifFalse | T | Expression<T> |
Returns:
TernaryExpression<T>
params.BooleanParam.thenElse()
Signature:
thenElse<T extends string | number | boolean>(ifTrue: T | Expression<T>, ifFalse: T | Expression<T>): TernaryExpression<T>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| ifTrue | T | Expression<T> | |
| ifFalse | T | Expression<T> |
Returns:
TernaryExpression<T>