UNPKG

voluptasmollitia

Version:
24 lines (15 loc) 990 B
<!-- 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) ## Value interface Wraps a value with metadata and type-safe getters. <b>Signature:</b> ```typescript export interface Value ``` ## Methods | Method | Description | | --- | --- | | [asBoolean()](./remote-config.value.asboolean.md) | 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. | | [asNumber()](./remote-config.value.asnumber.md) | Gets the value as a number. Comparable to calling <code>Number(value) \|\| 0</code>. | | [asString()](./remote-config.value.asstring.md) | Gets the value as a string. | | [getSource()](./remote-config.value.getsource.md) | Gets the [ValueSource](./remote-config.valuesource.md) for the given key. |