Title: Theory / Unimportant / CS / Programming / Kotlin / Library / Range
Tags: automatedNewLineAfterCommaSpace

Instruction: a.rangeTo(b)
Page: https://kotlinlang.org/docs/ranges.html
Language: Kotlin
Returns: A range between a included and b included
Variables: a: int, long, char, byte, or unsigned version
Abbreviation: a..b

Instruction: a downTo b
Page: https://kotlinlang.org/docs/ranges.html
Language: Kotlin
Returns: An iterator going down from a included to b excluded
Variables: a: int, long, char, byte, or unsigned version

Instruction: a until b
Page: https://kotlinlang.org/docs/ranges.html
Language: Kotlin
Returns: An iterator returning all numbers from a included to b excluded
Variables: UITouch touch

Typ: ClosedRange<T>
Meaning: Represents a range of values (for example, numbers or characters).
Page: https://kotlinlang.org/docs/ranges.html
Variables: T: Comparable
Language: Kotlin

Variable: range.endInclusive
Meaning: The end of the range
Page: https://kotlinlang.org/docs/ranges.html
Language: Kotlin
Variables: T: Comparable
range: ClosedRange<T>

Variable: range.start
Meaning: the start of the range (included)
Page: https://kotlinlang.org/docs/ranges.html
Language: Kotlin
Variables: T: Comparable
range: ClosedRange<T>

Instruction: range.contains(value)
Page: https://kotlinlang.org/docs/ranges.html
Language: Kotlin
Returns: Whether value is in the range
Variables: T: Comparable
range: ClosedRange<T>

Instruction: range.isEmpty()
Page: https://kotlinlang.org/docs/ranges.html
Language: Kotlin
Returns: Whether the range is empty
Variables: T: Comparable
range: ClosedRange<T>

Typ: (Char|Int|Long|UInt|ULong)Progression
Meaning: A progression of char|int|long|uint|ulong
Page: https://kotlinlang.org/docs/ranges.html
Variables: T: Comparable
range: ClosedRange<T>
Language: Kotlin

Variable: progression.first
Meaning: first element of the progression
Page: https://kotlinlang.org/docs/ranges.html
Language: Kotlin
Variables: progression: (Char|Int||Long|UInt|ULong)Progression

Variable: progression.last
Meaning: last element of the progression
Page: https://kotlinlang.org/docs/ranges.html
Language: Kotlin
Variables: progression: (Char|Int||Long|UInt|ULong)Progression

Variable: progression.step
Meaning: The step of the progression
Page: https://kotlinlang.org/docs/ranges.html
Language: Kotlin
Variables: progression: (Char|Int||Long|UInt|ULong)Progression

Instruction: progression.isEmpty()
Page: https://kotlinlang.org/docs/ranges.html
Language: Kotlin
Returns: Whether the progression is empty
Variables: progression: (Char|Int||Long|UInt|ULong)Progression

Instruction: progression.iterator()
Page: https://kotlinlang.org/docs/ranges.html
Language: Kotlin
Returns: The progression as an iterator
Variables: progression: (Char|Int||Long|UInt|ULong)Progression

Instruction: fromClosedRange(
start,
end,
step
)
Page: https://kotlinlang.org/docs/ranges.html
Language: Kotlin
Returns: A progression from start to end with step
Variables: progression: (Char|Int||Long|UInt|ULong)Progression

Instruction: progression.todo (same as iterable helper function)
Page: https://kotlinlang.org/docs/ranges.html
Language: Kotlin
Variables: progression: (Char|Int||Long|UInt|ULong)Progression

Typ: (Char|Int|Long|UInt|ULong)Range
Meaning: A range of (Char|Int|Long|UInt|ULong)
Page: https://kotlinlang.org/docs/ranges.html
Language: Kotlin
Subtype of: (Char|Int|Long|UInt|ULong)Progression ClosedRange<(Char|Int|Long|UInt|ULong)>

Constant: (Char|Int|Long|UInt|ULong)Range.EMPTY
Meaning: The empty range
Page: https://kotlinlang.org/docs/ranges.html
Language: Kotlin

Typ: ClosedFloatingPointRange<T>
Meaning: a range of floating point numbers.
Page: https://kotlinlang.org/docs/ranges.html
Language: Kotlin
Subtype of: ClosedRange<T>

Instruction: progression.step(value)
Page: https://kotlinlang.org/docs/ranges.html
Language: Kotlin
Returns: progression same as progression but with given step
Variables: progression: (Int|Long|Char)Progression