property(forKey:)
Returns the receiver’s property for a given key.
Declaration
func property(forKey key: Stream.PropertyKey) -> Any?Parameters
- key:
The key for one of the receiver’s properties. See Constants for a description of the available property-key constants and associated values.
Return Value
The receiver’s property for the key key.