Spec-Zone.ru › Kotlin 2

minus

kotlin-stdlib/kotlin/Short/minus

Требования к платформе и версии: Common (1.0), JS (1.1), JVM (1.0)

expect operator fun minus(other: Byte): Int
expect operator fun minus(other: Short): Int
expect operator fun minus(other: Int): Int
expect operator fun minus(other: Long): Long
expect operator fun minus(other: Float): Float
expect operator fun minus(other: Double): Double

Вычитает другое значение из этого значения.

Требования к платформе и версии: Native (1.3), Wasm-JS (1.8), Wasm-WASI (1.8)

actual inline operator fun minus(other: Byte): Int
actual inline operator fun minus(other: Short): Int
actual inline operator fun minus(other: Int): Int
actual inline operator fun minus(other: Long): Long
actual inline operator fun minus(other: Float): Float
actual inline operator fun minus(other: Double): Double

Вычитает другое значение из этого значения.

© 2010–2026 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-short/minus.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API