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

Function isRecordGroup

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

Source from the content-addressed store, hash-verified

432
433// A record group carries named fields (no top-level choice branches).
434function isRecordGroup(def) {
435 return def && def.Type === 'group' && Array.isArray(def.Properties) && !def.Properties.some((p) => Array.isArray(p))
436}
437
438/**
439 * Inline anonymous group-ref spreads (CDDL group composition, e.g. a params

Callers 3

mergedFieldsFunction · 0.85
flattenGroupCompositionFunction · 0.85
spliceExtensionGroupsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected