| 432 | } |
| 433 | |
| 434 | bool __hxcpp_anon_remove(Dynamic inObj,String inKey) |
| 435 | { |
| 436 | hx::Anon_obj *anon = dynamic_cast<hx::Anon_obj *>(inObj.mPtr); |
| 437 | if (anon) |
| 438 | { |
| 439 | bool removed = anon->__Remove(inKey); |
| 440 | if (removed) |
| 441 | return true; |
| 442 | } |
| 443 | Dynamic *map = inObj->__GetFieldMap(); |
| 444 | if (map) |
| 445 | return __string_hash_remove(*map,inKey); |
| 446 | return false; |
| 447 | } |
| 448 | |
| 449 |
nothing calls this directly
no test coverage detected