Change-Id: I41ea06018daae2c929edc24a714007cede9296ed
Reviewed-on: https://go-review.googlesource.com/c/go/+/547756
TryBot-Bypass: Keith Randall <khr@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
<dl id="cmp"><dt><a href="/pkg/cmp/">cmp</a></dt>
<dd>
- <p><!-- https://go.dev/issue/60204 -->
- TODO: <a href="https://go.dev/issue/60204">https://go.dev/issue/60204</a>: add Or
- </p>
-
- <p><!-- CL 504883 -->
- TODO: <a href="https://go.dev/cl/504883">https://go.dev/cl/504883</a>: cmp: add Or; modified api/next/60204.txt
+ <p><!-- https://go.dev/issue/60204 --><!-- CL 504883 -->
+ The new function <code>Or</code> returns the first in a sequence of values that is not the zero value.
</p>
</dd>
</dl><!-- cmp -->