Contents

evaluate(with:)

Returns a Boolean value that indicates whether the specified object matches the conditions that the predicate specifies.

Declaration

func evaluate(with object: Any?) -> Bool

Parameters

  • object:

    The object against which to evaluate the predicate.

Return Value

true if object matches the conditions specified by the predicate, otherwise false.

See Also

Evaluating a Predicate