MCPcopy Create free account
hub / github.com/IoLanguage/io / UArray_findLongValue_

Function UArray_findLongValue_

libs/basekit/source/UArray.c:1106–1109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1104}
1105
1106long UArray_findLongValue_(const UArray *self, long value) {
1107 UARRAY_FOREACH(self, i, v, if (v == value) return i);
1108 return -1;
1109}
1110
1111int UArray_containsLong_(const UArray *self, long value) {
1112 return UArray_findLongValue_(self, value) != -1;

Callers 1

UArray_containsLong_Function · 0.85

Calls 1

ifFunction · 0.50

Tested by

no test coverage detected