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

Function indexOf

include/cpp/VirtualArray.h:452–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450 inline bool removeAt(int inIndex) { checkBase(); return (store!=hx::arrayEmpty) && base->__removeAt(inIndex); }
451
452 int indexOf(Dynamic inValue, Dynamic fromIndex = null())
453 {
454 checkBase();
455 if (store==hx::arrayEmpty)
456 return -1;
457 EnsureStorage(inValue);
458 return (int)base->__indexOf(inValue,fromIndex);
459 }
460 int lastIndexOf(Dynamic inValue, Dynamic fromIndex = null())
461 {
462 checkBase();

Callers

nothing calls this directly

Calls 3

checkBaseFunction · 0.85
EnsureStorageFunction · 0.85
nullClass · 0.50

Tested by

no test coverage detected