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

Function isGroupRef

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

True when `entry` is a reference to a named group (`{Type:'group', Value}`).

(entry)

Source from the content-addressed store, hash-verified

85
86/** True when `entry` is a reference to a named group (`{Type:'group', Value}`). */
87function isGroupRef(entry) {
88 return entry && typeof entry === 'object' && entry.Type === 'group' && typeof entry.Value === 'string'
89}
90
91/** True when `entry` is an inline anonymous group (`{Type:'group', Properties}`). */
92function isInlineGroup(entry) {

Callers 4

isNullArmFunction · 0.85
branchTypeFunction · 0.85
variantRecordFunction · 0.85
mergedFieldsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected