Methods

delete

static

delete() returns firebase.firestore.FieldValue

Returns a sentinel for use with update() to mark a field for deletion.

Returns

non-null firebase.firestore.FieldValue 

serverTimestamp

static

serverTimestamp() returns firebase.firestore.FieldValue

Returns a sentinel used with set() or update() to include a server-generated timestamp in the written data.

Returns

non-null firebase.firestore.FieldValue 

isEqual

isEqual(other) returns boolean

Returns 'true' if this FieldValue is equal to the provided one.

Parameter

other

firebase.firestore.FieldValue

The FieldValue to compare against.

Value must not be null.

Returns

boolean 'true' if this FieldValue is equal to the provided one.