| 1066 | } |
| 1067 | |
| 1068 | absl::StatusOr<bool> Has(const CelValue& key) const override { |
| 1069 | // This check safeguards against issues with invalid key types such as NaN. |
| 1070 | CEL_RETURN_IF_ERROR(CelValue::CheckMapKeyType(key)); |
| 1071 | return map_.find(key) != map_.end(); |
| 1072 | } |
| 1073 | |
| 1074 | int size() const override { return static_cast<int>(Size()); } |
| 1075 |
nothing calls this directly
no test coverage detected