MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / lastIndexOf

Function lastIndexOf

include/cpp/VirtualArray.h:460–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458 return (int)base->__indexOf(inValue,fromIndex);
459 }
460 int lastIndexOf(Dynamic inValue, Dynamic fromIndex = null())
461 {
462 checkBase();
463 if (store==hx::arrayEmpty)
464 return -1;
465 EnsureStorage(inValue);
466 return (int)base->__lastIndexOf(inValue,fromIndex);
467 }
468
469 Dynamic shift() { checkBase(); return store==hx::arrayEmpty ? null() : base->__shift(); }
470

Callers

nothing calls this directly

Calls 3

checkBaseFunction · 0.85
EnsureStorageFunction · 0.85
nullClass · 0.50

Tested by

no test coverage detected