Counts the number of times a given value occurs in an array.
- 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
The value for which to find matches 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 number of times
value occurs in
the, within the specified range.