docs-devsite/firestore_.fieldvalue.md
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 %}
Sentinel values that can be used when writing document fields with set() or update()<!-- -->.
<b>Signature:</b>
export declare abstract class FieldValue
| Method | Modifiers | Description |
|---|---|---|
| isEqual(other) | Compares <code>FieldValue</code>s for equality. |
Compares FieldValue<!-- -->s for equality.
<b>Signature:</b>
abstract isEqual(other: FieldValue): boolean;
| Parameter | Type | Description |
|---|---|---|
| other | FieldValue |
<b>Returns:</b>
boolean