Returns the lowest index whose corresponding array value is equal to a given object.
Mac Catalyst 13.0+Beta
The lowest index whose corresponding array value is equal to anObject. If none of the objects in the array is equal to anObject, returns NSNotFound.
Starting at index 0, each element of the array is passed as an argument to an isEqual(_:) message sent to anObject until a match is found or the end of the array is reached. Objects are considered equal if isEqual(_:) (declared in the NSObjectProtocol protocol) returns true.
Returns a Boolean value that indicates whether a given object is present in the array.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.