Searches an array forward for a value.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The array to examine.
The range within
theto search. The range must lie within the bounds of
the. The range may be empty (length
0). The search progresses from the lowest index defined by the range to the highest.
The value for which to find a match in
the. The equal callback provided when
thewas created is used to compare. If the equal callback was
NULL, pointer equality (in C, ==) is used. If
value, or any other value in
the, is not understood by the equal callback, the behavior is undefined.
The lowest index of the matching values in the range, or
-1 if no value in the range matched.