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

Function contains

include/Array.h:730–739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

728 }
729
730 bool contains(ELEM_ inValue)
731 {
732 ELEM_ *e = (ELEM_ *)mBase;
733 for(int i=0;i<length;i++)
734 {
735 if (hx::arrayElemEq(e[i],inValue))
736 return true;
737 }
738 return false;
739 }
740
741 bool remove(ELEM_ inValue)
742 {

Callers 1

__containsFunction · 0.70

Calls 1

arrayElemEqFunction · 0.85

Tested by

no test coverage detected