// ToUint64 attempts to cast the Boolean to a Uint64.
// The result is not checked for an overflow.
// Use the ToUint64Checked version of this method if you need to check for
// an overflow.
ToUint64 attempts to cast the Boolean to a Uint64.
The result is not checked for an overflow.
Use the ToUint64Checked version of this method if you need to check for
an overflow.
// ToUint64 attempts to cast the Boolean to a Uint64 . // The result is not checked for an overflow . // Use the ToUint64Checked version of this method if you need to check for // an overflow .
func (t Boolean) ToUint64() Uint64 {
	if t {
		return Uint64(1)
	}
	return Uint64(0)
}
func ( t Boolean ) ToUint64 ( ) Uint64 { if t { return Uint64 ( 1 ) } return Uint64 ( 0 ) }
ToUint64 attempts to cast the Boolean to a Uint64.
ToUint64 attempts to cast the Boolean to a Uint64 .