| 531 | } |
| 532 | |
| 533 | bool IsMutableListValue(const Value& value) { |
| 534 | if (auto custom_list_value = value.AsCustomList(); custom_list_value) { |
| 535 | NativeTypeId native_type_id = custom_list_value->GetTypeId(); |
| 536 | if (native_type_id == NativeTypeId::For<MutableListValue>() || |
| 537 | native_type_id == NativeTypeId::For<MutableCompatListValue>()) { |
| 538 | return true; |
| 539 | } |
| 540 | } |
| 541 | return false; |
| 542 | } |
| 543 | |
| 544 | bool IsMutableListValue(const ListValue& value) { |
| 545 | if (auto custom_list_value = value.AsCustom(); custom_list_value) { |