MCPcopy Index your code
hub / github.com/callstack/agent-device / usesMobileSnapshotPresentation

Function usesMobileSnapshotPresentation

src/kernel/snapshot.ts:92–94  ·  view source on GitHub ↗
(backend: SnapshotBackend | undefined)

Source from the content-addressed store, hash-verified

90}
91
92export function usesMobileSnapshotPresentation(backend: SnapshotBackend | undefined): boolean {
93 return backend === undefined || backend === 'xctest' || backend === 'android';
94}
95
96export type SnapshotState = {
97 nodes: SnapshotNode[];

Callers 2

formatSnapshotTextFunction · 0.90
buildSnapshotVisibilityFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected