Builder

public struct Builder

A Builder that composes a Pattern from a sequence of Elements

  • create a Pattern from the give sequence of Elements and initial configuration setting

    Declaration

    Swift

    public static func pattern(_ items: Element..., config: Element.Config = []) -> Pattern?