Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

arrayRemove

Returns a special value that can be used with {@link (setDoc:1)} or updateDoc:1 that tells the server to remove the given elements from any array value that already exists on the server. All instances of each element specified will be removed from the array. If the field being modified is not already an array it will be overwritten with an empty array.

function arrayRemove(...elements: unknown[]): FieldValue;
§
arrayRemove(...elements: unknown[]): FieldValue
[src]

§Parameters

§
...elements: unknown[] optional
[src]
  • The elements to remove from the array.

§Return Type

§

The FieldValue sentinel for use in a call to setDoc() or updateDoc()