Contents

keysOfEntries(passingTest:)

Returns the set of keys whose corresponding value satisfies a constraint described by a block object.

Declaration

func keysOfEntries(passingTest predicate: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Set<AnyHashable>

Parameters

  • predicate:

    A block object that specifies constraints for values in the dictionary.

Return Value

The set of keys whose corresponding value satisfies predicate.

See Also

Related Documentation

Filtering Dictionaries