voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
20 lines (11 loc) • 549 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/remote-config](./remote-config.md) > [Value](./remote-config.value.md) > [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