(other ref.Val)
| 309 | } |
| 310 | |
| 311 | func (cr celHTTPRequest) Equal(other ref.Val) ref.Val { |
| 312 | if o, ok := other.Value().(celHTTPRequest); ok { |
| 313 | return types.Bool(o.Request == cr.Request) |
| 314 | } |
| 315 | return types.ValOrErr(other, "%v is not comparable type", other) |
| 316 | } |
| 317 | func (celHTTPRequest) Type() ref.Type { return httpRequestCELType } |
| 318 | func (cr celHTTPRequest) Value() any { return cr } |
| 319 |