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