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

Method fromNative

packages/firebase-firestore/index.android.ts:1107–1114  ·  view source on GitHub ↗
(field: com.google.firebase.firestore.FieldValue)

Source from the content-addressed store, hash-verified

1105 _native: com.google.firebase.firestore.FieldValue;
1106
1107 static fromNative(field: com.google.firebase.firestore.FieldValue) {
1108 if (field instanceof com.google.firebase.firestore.FieldValue) {
1109 const value = new FieldValue();
1110 value._native = field;
1111 return value;
1112 }
1113 return null;
1114 }
1115
1116 static arrayRemove(elements: any[]): FieldValue {
1117 return FieldValue.fromNative(com.google.firebase.firestore.FieldValue.arrayRemove(elements.map((element) => element?.native || serializeItems(element))));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected