| 1230 | } |
| 1231 | |
| 1232 | absl::StatusOr<bool> Has(const CelValue& key) const override { |
| 1233 | // This check safeguards against issues with invalid key types such as NaN. |
| 1234 | CEL_RETURN_IF_ERROR(CelValue::CheckMapKeyType(key)); |
| 1235 | return map_.find(key) != map_.end(); |
| 1236 | } |
| 1237 | |
| 1238 | int size() const override { return static_cast<int>(Size()); } |
| 1239 |
nothing calls this directly
no test coverage detected