Back to Firebase Js Sdk

FieldValue class

docs-devsite/firestore_lite_pipelines.fieldvalue.md

12.12.11.0 KB
Original Source

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()<!-- -->.

<b>Signature:</b>

typescript
export declare abstract class FieldValue 

Methods

MethodModifiersDescription
isEqual(other)Compares <code>FieldValue</code>s for equality.

FieldValue.isEqual()

Compares FieldValue<!-- -->s for equality.

<b>Signature:</b>

typescript
abstract isEqual(other: FieldValue): boolean;

Parameters

ParameterTypeDescription
otherFieldValue

<b>Returns:</b>

boolean