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

arrayUnion

Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link

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

§Parameters

§
...elements: unknown[] optional
[src]
  • The elements to union into the array.

§Return Type

§

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