blob: c3cde6ae959f79a8e222ee1e6bd1d0f7f3832b49 [file] [log] [blame] [view]
[TOC](Readme.md) [Prev](duplicates.md) [Next](types.md)
# Bottom
Specifying duplicate fields with conflicting values results in an error,
denoted `_|_`.
Technically speaking, bottom is just a value like any other.
But for all practical purposes it is okay to think of the bottom value
as an error.
Note that an error is different from `null`: `null` is a valid JSON value,
whereas `_|_` is not.
<!-- CUE editor -->
```
a: 4
a: 5
l: [ 1, 2 ]
l: [ 1, 3 ]
```
<!-- result -->
```
a: _|_
l: _|_
```