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

Method arrayUnion

packages/firebase-firestore/index.android.ts:1120–1122  ·  view source on GitHub ↗
(elements: any[])

Source from the content-addressed store, hash-verified

1118 }
1119
1120 static arrayUnion(elements: any[]): FieldValue {
1121 return FieldValue.fromNative(com.google.firebase.firestore.FieldValue.arrayUnion(elements.map((element) => element?.native || serializeItems(element))));
1122 }
1123
1124 static delete(): FieldValue {
1125 return FieldValue.fromNative(com.google.firebase.firestore.FieldValue.delete());

Callers

nothing calls this directly

Calls 2

serializeItemsFunction · 0.70
fromNativeMethod · 0.45

Tested by

no test coverage detected