- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for panicNotBool (0.13 sec)
-
src/reflect/value.go
} // Bool returns v's underlying value. // It panics if v's kind is not [Bool]. func (v Value) Bool() bool { // panicNotBool is split out to keep Bool inlineable. if v.kind() != Bool { v.panicNotBool() } return *(*bool)(v.ptr) } func (v Value) panicNotBool() { v.mustBe(Bool) } var bytesType = rtypeOf(([]byte)(nil)) // Bytes returns v's underlying value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0)