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

Function isRef

javascript/selenium-webdriver/project_bidi_schema.mjs:117–117  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

115const typeList = (t) => (Array.isArray(t) ? t : t === undefined || t === null ? [] : [t])
116const isLiteral = (e) => e && typeof e === 'object' && e.Type === 'literal'
117const isRef = (e) => e && typeof e === 'object' && e.Type === 'group' && typeof e.Value === 'string'
118
119// An occurrence with no upper bound (`*` / `+`). The parser emits Infinity; the AST's
120// JSON round-trip renders that as null, so treat both as unbounded.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected