MCPcopy Index your code
hub / github.com/NativeScript/firebase / serializeItems

Function serializeItems

packages/firebase-database/index.android.ts:23–28  ·  view source on GitHub ↗
(data, wrapPrimitives = false)

Source from the content-addressed store, hash-verified

21const NSDatabaseReference = lazy(() => org.nativescript.firebase.database.FirebaseDatabase.DatabaseReference);
22
23function serializeItems(data, wrapPrimitives = false) {
24 if (data instanceof ServerValue) {
25 return data.native;
26 }
27 return serialize(data, wrapPrimitives);
28}
29
30export class OnDisconnect implements IOnDisconnect {
31 _native: com.google.firebase.database.OnDisconnect;

Callers 6

setMethod · 0.70
setWithPriorityMethod · 0.70
setMethod · 0.70
setWithPriorityMethod · 0.70
doTransactionMethod · 0.70
updateMethod · 0.70

Calls 1

serializeFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…