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

Function Find

include/Array.h:721–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

719
720
721 int Find(ELEM_ inValue)
722 {
723 ELEM_ *e = (ELEM_ *)mBase;
724 for(int i=0;i<length;i++)
725 if (hx::arrayElemEq(e[i],inValue))
726 return i;
727 return -1;
728 }
729
730 bool contains(ELEM_ inValue)
731 {

Callers

nothing calls this directly

Calls 1

arrayElemEqFunction · 0.85

Tested by

no test coverage detected