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

Function hasAnySelectorValue

src/daemon/device-selector-intent.ts:29–35  ·  view source on GitHub ↗
(
  flags: CommandFlags | undefined,
  keys: ReadonlyArray<keyof CommandFlags>,
)

Source from the content-addressed store, hash-verified

27}
28
29function hasAnySelectorValue(
30 flags: CommandFlags | undefined,
31 keys: ReadonlyArray<keyof CommandFlags>,
32): boolean {
33 if (!flags) return false;
34 return keys.some((key) => hasSelectorValue(flags[key]));
35}

Callers 2

Calls 1

hasSelectorValueFunction · 0.85

Tested by

no test coverage detected