MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / hasUnknown

Function hasUnknown

javascript/selenium-webdriver/project_bidi_schema.mjs:449–462  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

447 ? node.record.flatMap((f) => refsIn(f.type))
448 : []
449 const hasUnknown = (node) =>
450 !node
451 ? false
452 : node.primitive === 'unknown'
453 ? true
454 : node.list
455 ? hasUnknown(node.list)
456 : node.map
457 ? hasUnknown(node.map)
458 : node.union
459 ? node.union.some(hasUnknown)
460 : node.record
461 ? node.record.some((f) => hasUnknown(f.type))
462 : false
463 const hasEmptyInlineRecord = (node) =>
464 !node
465 ? false

Callers 1

reportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected