HierarchicalArray
public struct HierarchicalArray<T> : HierarchicalCollection where T : HierarchicalCollection
A hierarchical collection composed of T hierarchical collections.
-
Declaration
Swift
public typealias Element = T.Element -
Declaration
Swift
public struct Cursor : Comparable -
Creates a hierarchical array from
array.Declaration
Swift
public init(_ array: [T]) -
Declaration
-
Declaration
-
Declaration
Swift
public func compactMapAndFlatten<T>(_ fn: (Element) throws -> T?) rethrows -> [T] -
Declaration
Swift
public var count: Int { get }
View on GitHub
HierarchicalArray Structure Reference