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

Function isRecordGroup

javascript/selenium-webdriver/normalize_bidi_ast.mjs:417–419  ·  view source on GitHub ↗
(def)

Source from the content-addressed store, hash-verified

415
416// A record group carries named fields (no top-level choice branches).
417function isRecordGroup(def) {
418 return def && def.Type === 'group' && Array.isArray(def.Properties) && !def.Properties.some((p) => Array.isArray(p))
419}
420
421/**
422 * Inline anonymous group-ref spreads (CDDL group composition, e.g. a params

Callers 2

mergedFieldsFunction · 0.85
flattenGroupCompositionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected