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

Function isInlineGroup

javascript/selenium-webdriver/normalize_bidi_ast.mjs:103–105  ·  view source on GitHub ↗

True when `entry` is an inline anonymous group (`{Type:'group', Properties}`).

(entry)

Source from the content-addressed store, hash-verified

101
102/** True when `entry` is an inline anonymous group (`{Type:'group', Properties}`). */
103function isInlineGroup(entry) {
104 return entry && typeof entry === 'object' && entry.Type === 'group' && Array.isArray(entry.Properties)
105}
106
107function groupRef(value) {
108 return { Type: 'group', Value: value, Unwrapped: false }

Callers 4

eachPropertyDeepFunction · 0.85
hoistInlineRecordsFunction · 0.85
detectInlineVariantFunction · 0.85
branchTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected