github.com/joomcode/cue@v0.4.4-0.20221111115225-539fe3512047/cue/testdata/builtins/or.txtar (about)

     1  // unwrap into single value
     2  unwrap: or([1, 1, 1])
     3  
     4  // unique duplicate values
     5  unique1: or([2, 1, 1, 2])
     6  
     7  unique2: or([{a: 1}, {a: 1}, {a: 2}])
     8  
     9  // do not unique embedded scalars with differing values for child definitions.
    10  embed1: or([{2, #x: 1}, {2, #x: 2}])