contains(_:)
Returns whether the specified object is present in the fetch result.
Declaration
func contains(_ anObject: ObjectType) -> BoolParameters
- anObject:
An object.
Return Value
true if anObject is present in the fetch result, otherwise false.
Discussion
This method determines whether anObject is present in the fetch result by sending an == message to each of the fetch result’s objects (and passing anObject as the parameter to each == message).