MCPcopy Create free account
hub / github.com/callstack/agent-device / firstDefined

Function firstDefined

src/cloud-webdriver/runtime-helpers.ts:28–30  ·  view source on GitHub ↗
(...values: Array<T | undefined>)

Source from the content-addressed store, hash-verified

26}
27
28function firstDefined<T>(...values: Array<T | undefined>): T | undefined {
29 return values.find((value) => value !== undefined);
30}

Callers 1

providerInstallResultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…