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

Function isNullArm

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

True when `entry` is the CDDL null keyword (bare `'null'`) or a `nil`/`null` prelude ref.

(entry)

Source from the content-addressed store, hash-verified

115
116/** True when `entry` is the CDDL null keyword (bare `'null'`) or a `nil`/`null` prelude ref. */
117function isNullArm(entry) {
118 return entry === 'null' || (isGroupRef(entry) && (entry.Value === 'null' || entry.Value === 'nil'))
119}
120
121/**
122 * Drop the leading run of `label` that restates `ownerLocal`, backing off to a

Callers

nothing calls this directly

Calls 1

isGroupRefFunction · 0.85

Tested by

no test coverage detected