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

Function isLiteral

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

Source from the content-addressed store, hash-verified

114
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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected