<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/remote-config](./remote-config.md) &gt; [Value](./remote-config.value.md) &gt; [asBoolean](./remote-config.value.asboolean.md)

## Value.asBoolean() method

Gets the value as a boolean.

The following values (case insensitive) are interpreted as true: "1", "true", "t", "yes", "y", "on". Other values are interpreted as false.

<b>Signature:</b>

```typescript
asBoolean(): boolean;
```
<b>Returns:</b>

boolean

