ArraySplitView
public struct ArraySplitView[T] where T: Equatable { /* private fields */ }Multi-pass lazy view over the segments produced by splitting on each
occurrence of a separator value. (Named ArraySplitView to avoid
collision with std.text.SplitView.)
Properties
public var count: Int64 { get }
public var count: Int64 { get }public var isEmpty: Bool { get }
public var isEmpty: Bool { get }Initializers
public init(slice: ArraySlice[T], separator: T)
public init(slice: ArraySlice[T], separator: T)Methods
public func toArray() -> Array[ArraySlice[T]]
public func toArray() -> Array[ArraySlice[T]]ImplementsIterable
Associated Types
type Item = ArraySlice[T]
type Item = ArraySlice[T]type TargetIterator = ArraySplitIterator[T]
type TargetIterator = ArraySplitIterator[T]Methods
public func iter() -> ArraySplitIterator[T]
public func iter() -> ArraySplitIterator[T]Defined in lang/std/collections/views.ks