Contents

hasProperty(forKey:)

Returns a Boolean value indicating whether the described class has a property identified by the specified key.

Declaration

func hasProperty(forKey key: String) -> Bool

Parameters

  • key:

    The identifying key for a property of the receiver.

Return Value

true if the described class has a property identified by the specified key; otherwise, false.

See Also

Getting attribute and relationship information