Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
object Base62
Link copied to clipboard
data class GeoCoordinate(val latitude: Double, val longitude: Double)
Link copied to clipboard
data class GeoPolygon(val points: List<GeoCoordinate>)
Link copied to clipboard
class HalfOpenIntRange(start: Int, endExclusive: Int) : HalfOpenRange<Int> , Iterable<Int>
Link copied to clipboard
Link copied to clipboard
class Maybe<out Value>
Link copied to clipboard
data class SemanticVersion(val major: Int, val minor: Int = 0, val patch: Int = 0) : Comparable<SemanticVersion>
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T : Any> Any.cast(): T
Link copied to clipboard
inline fun <T : Any> Any.castOrNull(): T?
Link copied to clipboard
inline fun <Value : Comparable<Value>> check(value: Value, inRange: ClosedRange<Value>, name: String)
inline fun check(value: Int, inRange: IntRange, name: String)
inline fun check(value: Int, inRange: LongRange, name: String)
inline fun check(value: Long, inRange: IntRange, name: String)
inline fun check(value: Long, inRange: LongRange, name: String)
Link copied to clipboard
operator fun CharRange.component1(): Char
@JvmName(name = "component1Double")
operator fun ClosedFloatingPointRange<Double>.component1(): Double
@JvmName(name = "component1Float")
operator fun ClosedFloatingPointRange<Float>.component1(): Float
operator fun IntRange.component1(): Int
operator fun LongRange.component1(): Long
operator fun UIntRange.component1(): UInt
operator fun ULongRange.component1(): ULong
Link copied to clipboard
operator fun CharRange.component2(): Char
@JvmName(name = "component2Double")
operator fun ClosedFloatingPointRange<Double>.component2(): Double
@JvmName(name = "component2Float")
operator fun ClosedFloatingPointRange<Float>.component2(): Float
operator fun IntRange.component2(): Int
operator fun LongRange.component2(): Long
operator fun UIntRange.component2(): UInt
operator fun ULongRange.component2(): ULong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline operator fun <Attribute : StringAttribute<out Value>, Value : Any> StringAttributeMap.get(attribute: Attribute): Value?
Link copied to clipboard
inline fun <Value> Maybe<Value>.getOrElse(default: () -> Value): Value
Link copied to clipboard
fun <T> identity(value: T): T
Link copied to clipboard
inline fun Boolean.ifFalse(block: () -> Boolean): Boolean
Link copied to clipboard
inline fun <T : Any> T?.ifNull(defaultValue: () -> T): T
Link copied to clipboard
inline fun Boolean.ifTrue(block: () -> Boolean): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <R : Comparable<R>> HalfOpenIntRange.mapBounds(transform: (Int) -> R): HalfOpenRange<R>
inline fun HalfOpenIntRange.mapBounds(transform: (Int) -> Int): HalfOpenIntRange
fun <R : Comparable<R>> CharRange.mapBounds(transform: (Char) -> R): ClosedRange<R>
@JvmName(name = "mapBoundsToDouble")
fun CharRange.mapBounds(transform: (Char) -> Double): ClosedFloatingPointRange<Double>
@JvmName(name = "mapBoundsToFloat")
fun CharRange.mapBounds(transform: (Char) -> Float): ClosedFloatingPointRange<Float>
fun CharRange.mapBounds(transform: (Char) -> Int): IntRange
fun CharRange.mapBounds(transform: (Char) -> Long): LongRange
fun CharRange.mapBounds(transform: (Char) -> UInt): UIntRange
fun CharRange.mapBounds(transform: (Char) -> ULong): ULongRange
@JvmName(name = "mapDoubleBounds")
fun <R : Comparable<R>> ClosedFloatingPointRange<Double>.mapBounds(transform: (Double) -> R): ClosedRange<R>
@JvmName(name = "mapDoubleBoundsToDouble")
fun ClosedFloatingPointRange<Double>.mapBounds(transform: (Double) -> Double): ClosedFloatingPointRange<Double>
@JvmName(name = "mapDoubleBoundsToFloat")
fun ClosedFloatingPointRange<Double>.mapBounds(transform: (Double) -> Float): ClosedFloatingPointRange<Float>
@JvmName(name = "mapDoubleBounds")
fun ClosedFloatingPointRange<Double>.mapBounds(transform: (Double) -> Int): IntRange
@JvmName(name = "mapDoubleBounds")
fun ClosedFloatingPointRange<Double>.mapBounds(transform: (Double) -> Long): LongRange
@JvmName(name = "mapDoubleBounds")
fun ClosedFloatingPointRange<Double>.mapBounds(transform: (Double) -> UInt): UIntRange
@JvmName(name = "mapDoubleBounds")
fun ClosedFloatingPointRange<Double>.mapBounds(transform: (Double) -> ULong): ULongRange
@JvmName(name = "mapFloatBounds")
fun <R : Comparable<R>> ClosedFloatingPointRange<Float>.mapBounds(transform: (Float) -> R): ClosedRange<R>
@JvmName(name = "mapFloatBoundsToDouble")
fun ClosedFloatingPointRange<Float>.mapBounds(transform: (Float) -> Double): ClosedFloatingPointRange<Double>
@JvmName(name = "mapFloatBoundsToFloat")
fun ClosedFloatingPointRange<Float>.mapBounds(transform: (Float) -> Float): ClosedFloatingPointRange<Float>
@JvmName(name = "mapFloatBounds")
fun ClosedFloatingPointRange<Float>.mapBounds(transform: (Float) -> Int): IntRange
@JvmName(name = "mapFloatBounds")
fun ClosedFloatingPointRange<Float>.mapBounds(transform: (Float) -> Long): LongRange
@JvmName(name = "mapFloatBounds")
fun ClosedFloatingPointRange<Float>.mapBounds(transform: (Float) -> UInt): UIntRange
@JvmName(name = "mapFloatBounds")
fun ClosedFloatingPointRange<Float>.mapBounds(transform: (Float) -> ULong): ULongRange
@JvmName(name = "mapBoundsToDouble")
fun <Bound : Comparable<Bound>> ClosedRange<Bound>.mapBounds(transform: (Bound) -> Double): ClosedFloatingPointRange<Double>
@JvmName(name = "mapBoundsToFloat")
fun <Bound : Comparable<Bound>> ClosedRange<Bound>.mapBounds(transform: (Bound) -> Float): ClosedFloatingPointRange<Float>
fun <R : Comparable<R>> IntRange.mapBounds(transform: (Int) -> R): ClosedRange<R>
@JvmName(name = "mapBoundsToDouble")
fun IntRange.mapBounds(transform: (Int) -> Double): ClosedFloatingPointRange<Double>
@JvmName(name = "mapBoundsToFloat")
fun IntRange.mapBounds(transform: (Int) -> Float): ClosedFloatingPointRange<Float>
fun IntRange.mapBounds(transform: (Int) -> Int): IntRange
fun IntRange.mapBounds(transform: (Int) -> Long): LongRange
fun IntRange.mapBounds(transform: (Int) -> UInt): UIntRange
fun IntRange.mapBounds(transform: (Int) -> ULong): ULongRange
fun <R : Comparable<R>> LongRange.mapBounds(transform: (Long) -> R): ClosedRange<R>
@JvmName(name = "mapBoundsToDouble")
fun LongRange.mapBounds(transform: (Long) -> Double): ClosedFloatingPointRange<Double>
@JvmName(name = "mapBoundsToFloat")
fun LongRange.mapBounds(transform: (Long) -> Float): ClosedFloatingPointRange<Float>
fun LongRange.mapBounds(transform: (Long) -> Int): IntRange
fun LongRange.mapBounds(transform: (Long) -> Long): LongRange
fun LongRange.mapBounds(transform: (Long) -> UInt): UIntRange
fun LongRange.mapBounds(transform: (Long) -> ULong): ULongRange
fun <R : Comparable<R>> UIntRange.mapBounds(transform: (UInt) -> R): ClosedRange<R>
@JvmName(name = "mapBoundsToDouble")
fun UIntRange.mapBounds(transform: (UInt) -> Double): ClosedFloatingPointRange<Double>
@JvmName(name = "mapBoundsToFloat")
fun UIntRange.mapBounds(transform: (UInt) -> Float): ClosedFloatingPointRange<Float>
fun UIntRange.mapBounds(transform: (UInt) -> Int): IntRange
fun UIntRange.mapBounds(transform: (UInt) -> Long): LongRange
fun UIntRange.mapBounds(transform: (UInt) -> UInt): UIntRange
fun UIntRange.mapBounds(transform: (UInt) -> ULong): ULongRange
fun <R : Comparable<R>> ULongRange.mapBounds(transform: (ULong) -> R): ClosedRange<R>
@JvmName(name = "mapBoundsToDouble")
fun ULongRange.mapBounds(transform: (ULong) -> Double): ClosedFloatingPointRange<Double>
@JvmName(name = "mapBoundsToFloat")
fun ULongRange.mapBounds(transform: (ULong) -> Float): ClosedFloatingPointRange<Float>
fun ULongRange.mapBounds(transform: (ULong) -> Int): IntRange
fun ULongRange.mapBounds(transform: (ULong) -> Long): LongRange
fun ULongRange.mapBounds(transform: (ULong) -> UInt): UIntRange
fun ULongRange.mapBounds(transform: (ULong) -> ULong): ULongRange
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline operator fun <Attribute : StringAttribute<out Value>, Value : Any> MutableStringAttributeMap.set(attribute: Attribute, value: Value): Value?
Link copied to clipboard
fun stackTrace(skipCount: Int = 0): List<StackTraceElement>
Link copied to clipboard
inline fun <Result> Boolean.thenTake(block: () -> Result): Result?
Link copied to clipboard
fun String.toAttributedString(attributes: StringAttributeMap = emptyStringAttributes()): AttributedString
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun String.truncatedTo(maximumLength: Int, truncationSuffix: String = ""): String
Link copied to clipboard
fun String.unicodeSubstring(startIndex: Int): String
fun String.unicodeSubstring(startIndex: Int, endIndex: Int): String
Link copied to clipboard