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

Method get

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

Source from the content-addressed store, hash-verified

606 }
607
608 get<fieldType extends DocumentFieldType>(fieldPath: string | number | FieldPath): fieldType {
609 if (fieldPath instanceof FieldPath) {
610 return deserializeField(this.native.valueForField(fieldPath.native));
611 } else {
612 return deserializeField(this.native.valueForField(fieldPath));
613 }
614 }
615
616 get native() {
617 return this._native;

Callers

nothing calls this directly

Calls 1

deserializeFieldFunction · 0.70

Tested by

no test coverage detected