delete method

JSPromise<WriteResult> delete([
  1. Precondition precondition
])

Deletes the document referred to by this DocumentReference.

@param precondition A Precondition to enforce for this delete. @return A Promise resolved with the write time of this delete.

Implementation

external JSPromise<WriteResult> delete([
  Precondition precondition,
]);