Project: /docs/reference/js/_project.yaml
Book: /docs/reference/_book.yaml
page_type: reference
{% comment %}
DO NOT EDIT THIS FILE!
This is generated by the JS SDK team, and any local changes will be
overwritten. Changes should be made in the source code at
https://github.com/firebase/firebase-js-sdk
{% endcomment %}
# MaxKey class
Represent a "Max Key" type in Firestore documents.
MaxKey
Signature:
```typescript
export declare class MaxKey
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [type](./firestore_lite.maxkey.md#maxkeytype) | | (not declared) | A type string to uniquely identify instances of this class. |
## Methods
| Method | Modifiers | Description |
| --- | --- | --- |
| [instance()](./firestore_lite.maxkey.md#maxkeyinstance) | static | |
## MaxKey.type
A type string to uniquely identify instances of this class.
Signature:
```typescript
readonly type = 'MaxKey';
```
## MaxKey.instance()
Signature:
```typescript
static instance(): MaxKey;
```
Returns:
[MaxKey](./firestore_lite.maxkey.md#maxkey_class)