Contents

hasFault(forRelationshipNamed:)

Returns a Boolean value that indicates whether the relationship for a given key is a fault.

Declaration

func hasFault(forRelationshipNamed key: String) -> Bool

Parameters

  • key:

    The name of one of the receiver’s relationships.

Return Value

true if the relationship for key is a fault; otherwise, false.

Discussion

If the specified relationship is a fault, calling this method does not result in the fault firing.

See Also

Getting State Information