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

Method get

packages/firebase-firestore/index.ios.ts:308–314  ·  view source on GitHub ↗
(fieldPath: string | number | FieldPath)

Source from the content-addressed store, hash-verified

306 }
307
308 get<fieldType extends DocumentFieldType>(fieldPath: string | number | FieldPath): fieldType {
309 if (fieldPath instanceof FieldPath) {
310 return deserializeField(this.native.valueForField(fieldPath.native));
311 } else {
312 return deserializeField(this.native.valueForField(fieldPath));
313 }
314 }
315
316 toJSON() {
317 return {

Callers

nothing calls this directly

Calls 1

deserializeFieldFunction · 0.70

Tested by

no test coverage detected