startIndex
TypeScriptget startIndex(): numberSwift declarationvar startIndex: HistoricalComparisons.Index { get }The start index for the historical comparisons.
struct · iOS 18.0+ · SDK 27.1
struct HistoricalComparisonsA structure that represents the weather condition comparisons for a specific location. It's a list of comparisons between current readings and historical averages. The list is ordered by significance of deviation.
get startIndex(): numberSwift declarationvar startIndex: HistoricalComparisons.Index { get }The start index for the historical comparisons.
get comparisons(): Array<HistoricalComparison>Swift declarationvar comparisons: [HistoricalComparison]A list of comparisons between current readings and historical averages, ordered by significance of deviation.
set comparisons(value: Array<HistoricalComparison>)Swift declarationvar comparisons: [HistoricalComparison]A list of comparisons between current readings and historical averages, ordered by significance of deviation.
get endIndex(): numberSwift declarationvar endIndex: HistoricalComparisons.Index { get }The end index for the historical comparisons.
get metadata(): WeatherMetadataSwift declarationvar metadata: WeatherMetadataDescriptive information about the weather comparisons data.
set metadata(value: WeatherMetadata)Swift declarationvar metadata: WeatherMetadataDescriptive information about the weather comparisons data.
subscript(position: number): HistoricalComparisonSwift declarationsubscript(position: HistoricalComparisons.Index) -> HistoricalComparisons.Element { get }The historical comparison at the provided index.
No declarations were skipped in this snapshot.