get(_:)

Returns an attribute by name and throws if an error occurs.

Declaration

func get(
    _ name: String
) throws -> Object

Parameters

  • name: The name of the attribute.

Returns

A property from the receiver object.