startIndex
TypeScriptget startIndex(): numberSwift declarationvar startIndex: Int { get }The index of the initial element in the column slice.
struct · iOS 15.0+ · SDK 27.1
struct AnyColumnSliceA type-erased column slice.
get startIndex(): numberSwift declarationvar startIndex: Int { get }The index of the initial element in the column slice.
get description(): stringSwift declarationvar description: String { get }A text representation of the column slice.
get customMirror(): SDKHandleSwift declarationvar customMirror: Mirror { get }A mirror that reflects the column slice.
get missingCount(): numberSwift declarationvar missingCount: Int { get }The number of missing elements in the column slice.
get debugDescription(): stringSwift declarationvar debugDescription: String { get }A text representation of the column slice suitable for debugging.
get name(): stringSwift declarationvar name: String { get set }The name of the slice's parent column.
set name(value: string)Swift declarationvar name: String { get set }The name of the slice's parent column.
get count(): numberSwift declarationvar count: Int { get }The number of elements in the column slice.
indexAfter(i: number): numberSwift declarationfunc index(after i: Int) -> IntReturns the index immediately after an element index. - Parameter i: A valid index to an element in the column slice.
indexBefore(i: number): numberSwift declarationfunc index(before i: Int) -> IntReturns the index immediately before an element index. - Parameter i: A valid index to an element in the column slice.
isNil(index: number): booleanSwift declarationfunc isNil(at index: Int) -> BoolReturns a Boolean that indicates whether the element at the index is missing. - Parameter index: An index.
summary(): AnyCategoricalSummarySwift declarationfunc summary() -> AnyCategoricalSummaryGenerates a categorical summary of the column slice's elements. The method tries to cast the the untyped column slice to a typed column slice before summarizing. Generating a summary for a typed column is faster and more efficient than for an untyped column.
distinct(): AnyColumnSliceSwift declarationfunc distinct() -> AnyColumnSliceGenerates a column slice that contains unique elements. The method only adds the first of multiple elements with the same value --- the element with the smallest index --- to the slice. - Returns: A type-erased column slice.
get endIndex(): numberSwift declarationvar endIndex: Int { get }The index of the final element in the column slice.
subscript(range: SDKHandle): AnyColumnSliceSwift declarationsubscript(range: Range<Int>) -> AnyColumnSlice { get set }Accesses a contiguous range of elements. - Parameter range: A range of valid indices in the column slice.
subscript88042(position: number): (unknown) | nullSwift declarationsubscript(position: Int) -> Any? { get set }Accesses an element at an index. - Parameter position: A valid index to an element in the column slice.
2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
AnyColumnSlice.wrappedElementType
Passing a Swift type itself is not supported.
AnyColumnSlice.assumingType(_:)
Passing a Swift type itself is not supported.