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 %} # FieldValue class Sentinel values that can be used when writing document fields with `set()` or `update()`. Signature: ```typescript export declare abstract class FieldValue ``` ## Methods | Method | Modifiers | Description | | --- | --- | --- | | [isEqual(other)](./firestore_lite.fieldvalue.md#fieldvalueisequal) | | Compares FieldValues for equality. | ## FieldValue.isEqual() Compares `FieldValue`s for equality. Signature: ```typescript abstract isEqual(other: FieldValue): boolean; ``` #### Parameters | Parameter | Type | Description | | --- | --- | --- | | other | [FieldValue](./firestore_lite.fieldvalue.md#fieldvalue_class) | | Returns: boolean