set(_:value:)

Sets an attribute and throws if an error occurs.

Declaration

func set(
    _ name: String,
    value: Object?
) throws

Parameters

  • name: The name of the attribute.