Array

struct Array<Element> : _DestructorSafeContainer
  • Undocumented

    Declaration

    Swift

    subscript(desiredAnnotation: RuleAnnotation) -> RuleAnnotationValue? { get }
  • The annotations on the element with any that would be captured in Behaviour removed (@token, @transient, @void)

    Declaration

    Swift

    public var ruleAnnotations: RuleAnnotations { get }
  • The token if any specified in the annotations

    Declaration

    Swift

    public var token: String? { get }
  • true if the annotations include @void

    Declaration

    Swift

    public var void: Bool { get }
  • true if the annotations include @transient

    Declaration

    Swift

    public var transient: Bool { get }
  • Undocumented

    Declaration

    Swift

    public var type: String? { get }
  • Performs all operations in the array. If any operation throws a terminating or unknown (not an OperationError) error then execution will terminate. Otherwise the messages will be collated.

    Declaration

    Swift

    public func perform(in context: OperationContext) throws