UNPKG

veritatisdoloremque

Version:
24 lines (15 loc) 1.04 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@firebase/remote-config-types](./remote-config-types.md) &gt; [Value](./remote-config-types.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-types.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-types.value.asnumber.md) | Gets the value as a number. Comparable to calling <code>Number(value) \|\| 0</code>. | | [asString()](./remote-config-types.value.asstring.md) | Gets the value as a string. | | [getSource()](./remote-config-types.value.getsource.md) | Gets the [ValueSource](./remote-config-types.valuesource.md) for the given key. |