Array

extension Array: CodeRepresentable where Array.Element == CodeRepresentable

Available where Array.Element == CodeRepresentable

  • Transforms this Array into a Code.fragments instance that transforms each element into a [Fragment] instance and flatmaps it

    Declaration

    Swift

    public var asCode: Code { get }