MCPcopy Create free account
hub / github.com/NativeScript/firebase / arrayUnion

Method arrayUnion

packages/firebase-firestore/index.ios.ts:989–991  ·  view source on GitHub ↗
(elements: any[])

Source from the content-addressed store, hash-verified

987 }
988
989 static arrayUnion(elements: any[]): FieldValue {
990 return FieldValue.fromNative(FIRFieldValue.fieldValueForArrayUnion(elements.map((element) => element?.native || element)));
991 }
992
993 static delete(): FieldValue {
994 return FieldValue.fromNative(FIRFieldValue.fieldValueForDelete());

Callers

nothing calls this directly

Calls 1

fromNativeMethod · 0.45

Tested by

no test coverage detected