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

Function isActiveProviderDevice

src/provider-device-runtime.ts:92–94  ·  view source on GitHub ↗
(device: DeviceInfo)

Source from the content-addressed store, hash-verified

90}
91
92export function isActiveProviderDevice(device: DeviceInfo): boolean {
93 return getActiveProviderDeviceRuntimes().some((runtime) => runtime.ownsDevice(device));
94}
95
96export async function installProviderDeviceApp(
97 device: DeviceInfo,

Callers 6

getInteractorFunction · 0.90
applyRuntimeHintsToAppFunction · 0.90
ensureDeviceReadyFunction · 0.90

Calls 2

ownsDeviceMethod · 0.45

Tested by

no test coverage detected