(e)
| 122 | |
| 123 | // A `null` keyword or a `nil` prelude ref in a union means the value may be null. |
| 124 | const isNullAlt = (e) => |
| 125 | e === 'null' || (e && typeof e === 'object' && e.Type === 'group' && PRELUDE[e.Value] === 'null') |
| 126 | |
| 127 | // The primitive a set of literal values shares (all strings → string, etc.), or |
| 128 | // undefined when they are mixed. Used to type an inline literal choice. |