voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
28 lines (16 loc) • 801 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/remote-config](./remote-config.md) > [getString](./remote-config.getstring.md)
## getString() function
Gets the value for the given key as a string. Convenience method for calling <code>remoteConfig.getValue(key).asString()</code>.
<b>Signature:</b>
```typescript
export declare function getString(remoteConfig: RemoteConfig, key: string): string;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| remoteConfig | [RemoteConfig](./remote-config.remoteconfig.md) | The <code>RemoteConfig</code> instance. |
| key | string | The name of the parameter. |
<b>Returns:</b>
string
The value for the given key as a string.