Array

public extension Array where Element == HTMLNode

Provides functionality for an Array of HTMLNodes.

Available where Element == HTMLNode

  • Returns a single HTMLNode representing the array: An empty raw node if the array is empty, the single element of the array or a div node with the elements of this array as subnodes.

    Declaration

    Swift

    func joined() -> HTMLNode