| 1341 | } |
| 1342 | |
| 1343 | bool IsMutableMapValue(const Value& value) { |
| 1344 | if (auto custom_map_value = value.AsCustomMap(); custom_map_value) { |
| 1345 | NativeTypeId native_type_id = custom_map_value->GetTypeId(); |
| 1346 | if (native_type_id == NativeTypeId::For<MutableMapValue>() || |
| 1347 | native_type_id == NativeTypeId::For<MutableCompatMapValue>()) { |
| 1348 | return true; |
| 1349 | } |
| 1350 | } |
| 1351 | return false; |
| 1352 | } |
| 1353 | |
| 1354 | bool IsMutableMapValue(const MapValue& value) { |
| 1355 | if (auto custom_map_value = value.AsCustom(); custom_map_value) { |