kubernetes/vendor/github.com/google/cel-go/common/types/bool.go

type Bool

var boolWrapperType

const False

const True

// Compare implements the traits.Comparer interface method.
func (b Bool) Compare(other ref.Val) ref.Val {}

// ConvertToNative implements the ref.Val interface method.
func (b Bool) ConvertToNative(typeDesc reflect.Type) (any, error) {}

// ConvertToType implements the ref.Val interface method.
func (b Bool) ConvertToType(typeVal ref.Type) ref.Val {}

// Equal implements the ref.Val interface method.
func (b Bool) Equal(other ref.Val) ref.Val {}

// IsZeroValue returns true if the boolean value is false.
func (b Bool) IsZeroValue() bool {}

// Negate implements the traits.Negater interface method.
func (b Bool) Negate() ref.Val {}

// Type implements the ref.Val interface method.
func (b Bool) Type() ref.Type {}

// Value implements the ref.Val interface method.
func (b Bool) Value() any {}

// IsBool returns whether the input ref.Val or ref.Type is equal to BoolType.
func IsBool(elem ref.Val) bool {}