# ClientStorage.get
Retrieves a value from client storage.

{/* Do not edit this file. It is automatically generated by API Documenter. */}

## ClientStorage.get() method

Retrieves a value from client storage.

**Signature:**

```typescript
get(key: string): Promise<unknown | undefined>;
```

## Parameters

<table>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Type
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        key
      </td>

      <td>
        string
      </td>

      <td>
        The storage key to retrieve
      </td>
    </tr>
  </tbody>
</table>

**Returns:**

Promise\<unknown | undefined>

A promise that resolves to the stored value, or undefined if not found
