True when `entry` is a string/number/bool literal (`{Type:'literal', Value}`).
(entry)
| 110 | |
| 111 | /** True when `entry` is a string/number/bool literal (`{Type:'literal', Value}`). */ |
| 112 | function isLiteral(entry) { |
| 113 | return entry && typeof entry === 'object' && entry.Type === 'literal' |
| 114 | } |
| 115 | |
| 116 | /** True when `entry` is the CDDL null keyword (bare `'null'`) or a `nil`/`null` prelude ref. */ |
| 117 | function isNullArm(entry) { |
nothing calls this directly
no outgoing calls
no test coverage detected