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](https://firebase.google.com/docs/reference/functions/firebase-functions.params.param#paramsparam_class)\<boolean\>

## Properties

| Property | Modifiers | Type | Description |
|---|---|---|---|
| [type](https://firebase.google.com/docs/reference/functions/firebase-functions.params.booleanparam#paramsbooleanparamtype) | `static` | ParamValueType |   |

## Methods

| Method | Modifiers | Description |
|---|---|---|
| [then(ifTrue, ifFalse)](https://firebase.google.com/docs/reference/functions/firebase-functions.params.booleanparam#paramsbooleanparamthen) |   |   |
| [thenElse(ifTrue, ifFalse)](https://firebase.google.com/docs/reference/functions/firebase-functions.params.booleanparam#paramsbooleanparamthenelse) |   |   |

## params.BooleanParam.type

**Signature:**

    static type: ParamValueType;

## params.BooleanParam.then()

> > [!WARNING]
> > **Warning:** This API is now obsolete.
>
**Signature:**

    then<T extends string | number | boolean>(ifTrue: T | Expression<T>, ifFalse: T | Expression<T>): TernaryExpression<T>;

### Parameters

| Parameter | Type | Description |
|---|---|---|
| ifTrue | T \| [Expression](https://firebase.google.com/docs/reference/functions/firebase-functions.params.expression#paramsexpression_class)\<T\> |   |
| ifFalse | T \| [Expression](https://firebase.google.com/docs/reference/functions/firebase-functions.params.expression#paramsexpression_class)\<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](https://firebase.google.com/docs/reference/functions/firebase-functions.params.expression#paramsexpression_class)\<T\> |   |
| ifFalse | T \| [Expression](https://firebase.google.com/docs/reference/functions/firebase-functions.params.expression#paramsexpression_class)\<T\> |   |

**Returns:**

TernaryExpression\<T\>