Mark with @SinceKotlin("1.5") the Common char category API
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
@kotlin.SinceKotlin(version = "1.2")
|
@kotlin.SinceKotlin(version = "1.2")
|
||||||
public val kotlin.String.Companion.CASE_INSENSITIVE_ORDER: kotlin.Comparator<kotlin.String> { get; }
|
public val kotlin.String.Companion.CASE_INSENSITIVE_ORDER: kotlin.Comparator<kotlin.String> { get; }
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public val kotlin.Char.category: kotlin.text.CharCategory { get; }
|
public val kotlin.Char.category: kotlin.text.CharCategory { get; }
|
||||||
|
|
||||||
public val kotlin.CharSequence.indices: kotlin.ranges.IntRange { get; }
|
public val kotlin.CharSequence.indices: kotlin.ranges.IntRange { get; }
|
||||||
@@ -369,8 +370,10 @@ public inline fun kotlin.text.StringBuilder.insertRange(index: kotlin.Int, value
|
|||||||
|
|
||||||
public fun kotlin.CharSequence.isBlank(): kotlin.Boolean
|
public fun kotlin.CharSequence.isBlank(): kotlin.Boolean
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public fun kotlin.Char.isDefined(): kotlin.Boolean
|
public fun kotlin.Char.isDefined(): kotlin.Boolean
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public fun kotlin.Char.isDigit(): kotlin.Boolean
|
public fun kotlin.Char.isDigit(): kotlin.Boolean
|
||||||
|
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
@@ -378,14 +381,18 @@ public inline fun kotlin.CharSequence.isEmpty(): kotlin.Boolean
|
|||||||
|
|
||||||
public fun kotlin.Char.isHighSurrogate(): kotlin.Boolean
|
public fun kotlin.Char.isHighSurrogate(): kotlin.Boolean
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public fun kotlin.Char.isISOControl(): kotlin.Boolean
|
public fun kotlin.Char.isISOControl(): kotlin.Boolean
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public fun kotlin.Char.isLetter(): kotlin.Boolean
|
public fun kotlin.Char.isLetter(): kotlin.Boolean
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public fun kotlin.Char.isLetterOrDigit(): kotlin.Boolean
|
public fun kotlin.Char.isLetterOrDigit(): kotlin.Boolean
|
||||||
|
|
||||||
public fun kotlin.Char.isLowSurrogate(): kotlin.Boolean
|
public fun kotlin.Char.isLowSurrogate(): kotlin.Boolean
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public fun kotlin.Char.isLowerCase(): kotlin.Boolean
|
public fun kotlin.Char.isLowerCase(): kotlin.Boolean
|
||||||
|
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
@@ -402,8 +409,10 @@ public inline fun kotlin.CharSequence?.isNullOrEmpty(): kotlin.Boolean
|
|||||||
|
|
||||||
public fun kotlin.Char.isSurrogate(): kotlin.Boolean
|
public fun kotlin.Char.isSurrogate(): kotlin.Boolean
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public fun kotlin.Char.isTitleCase(): kotlin.Boolean
|
public fun kotlin.Char.isTitleCase(): kotlin.Boolean
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public fun kotlin.Char.isUpperCase(): kotlin.Boolean
|
public fun kotlin.Char.isUpperCase(): kotlin.Boolean
|
||||||
|
|
||||||
public fun kotlin.Char.isWhitespace(): kotlin.Boolean
|
public fun kotlin.Char.isWhitespace(): kotlin.Boolean
|
||||||
@@ -1210,6 +1219,7 @@ public interface Appendable {
|
|||||||
public abstract fun append(value: kotlin.CharSequence?, startIndex: kotlin.Int, endIndex: kotlin.Int): kotlin.text.Appendable
|
public abstract fun append(value: kotlin.CharSequence?, startIndex: kotlin.Int, endIndex: kotlin.Int): kotlin.text.Appendable
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public final enum class CharCategory : kotlin.Enum<kotlin.text.CharCategory> {
|
public final enum class CharCategory : kotlin.Enum<kotlin.text.CharCategory> {
|
||||||
enum entry UNASSIGNED
|
enum entry UNASSIGNED
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
@kotlin.SinceKotlin(version = "1.2")
|
@kotlin.SinceKotlin(version = "1.2")
|
||||||
public val kotlin.String.Companion.CASE_INSENSITIVE_ORDER: kotlin.Comparator<kotlin.String> { get; }
|
public val kotlin.String.Companion.CASE_INSENSITIVE_ORDER: kotlin.Comparator<kotlin.String> { get; }
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public val kotlin.Char.category: kotlin.text.CharCategory { get; }
|
public val kotlin.Char.category: kotlin.text.CharCategory { get; }
|
||||||
|
|
||||||
public val kotlin.CharSequence.indices: kotlin.ranges.IntRange { get; }
|
public val kotlin.CharSequence.indices: kotlin.ranges.IntRange { get; }
|
||||||
@@ -369,8 +370,10 @@ public inline fun kotlin.text.StringBuilder.insertRange(index: kotlin.Int, value
|
|||||||
|
|
||||||
public fun kotlin.CharSequence.isBlank(): kotlin.Boolean
|
public fun kotlin.CharSequence.isBlank(): kotlin.Boolean
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public fun kotlin.Char.isDefined(): kotlin.Boolean
|
public fun kotlin.Char.isDefined(): kotlin.Boolean
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public fun kotlin.Char.isDigit(): kotlin.Boolean
|
public fun kotlin.Char.isDigit(): kotlin.Boolean
|
||||||
|
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
@@ -378,14 +381,18 @@ public inline fun kotlin.CharSequence.isEmpty(): kotlin.Boolean
|
|||||||
|
|
||||||
public fun kotlin.Char.isHighSurrogate(): kotlin.Boolean
|
public fun kotlin.Char.isHighSurrogate(): kotlin.Boolean
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public fun kotlin.Char.isISOControl(): kotlin.Boolean
|
public fun kotlin.Char.isISOControl(): kotlin.Boolean
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public fun kotlin.Char.isLetter(): kotlin.Boolean
|
public fun kotlin.Char.isLetter(): kotlin.Boolean
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public fun kotlin.Char.isLetterOrDigit(): kotlin.Boolean
|
public fun kotlin.Char.isLetterOrDigit(): kotlin.Boolean
|
||||||
|
|
||||||
public fun kotlin.Char.isLowSurrogate(): kotlin.Boolean
|
public fun kotlin.Char.isLowSurrogate(): kotlin.Boolean
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public fun kotlin.Char.isLowerCase(): kotlin.Boolean
|
public fun kotlin.Char.isLowerCase(): kotlin.Boolean
|
||||||
|
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
@@ -402,8 +409,10 @@ public inline fun kotlin.CharSequence?.isNullOrEmpty(): kotlin.Boolean
|
|||||||
|
|
||||||
public fun kotlin.Char.isSurrogate(): kotlin.Boolean
|
public fun kotlin.Char.isSurrogate(): kotlin.Boolean
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public fun kotlin.Char.isTitleCase(): kotlin.Boolean
|
public fun kotlin.Char.isTitleCase(): kotlin.Boolean
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public fun kotlin.Char.isUpperCase(): kotlin.Boolean
|
public fun kotlin.Char.isUpperCase(): kotlin.Boolean
|
||||||
|
|
||||||
public fun kotlin.Char.isWhitespace(): kotlin.Boolean
|
public fun kotlin.Char.isWhitespace(): kotlin.Boolean
|
||||||
@@ -1210,6 +1219,7 @@ public interface Appendable {
|
|||||||
public abstract fun append(value: kotlin.CharSequence?, startIndex: kotlin.Int, endIndex: kotlin.Int): kotlin.text.Appendable
|
public abstract fun append(value: kotlin.CharSequence?, startIndex: kotlin.Int, endIndex: kotlin.Int): kotlin.text.Appendable
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@kotlin.SinceKotlin(version = "1.5")
|
||||||
public final enum class CharCategory : kotlin.Enum<kotlin.text.CharCategory> {
|
public final enum class CharCategory : kotlin.Enum<kotlin.text.CharCategory> {
|
||||||
enum entry UNASSIGNED
|
enum entry UNASSIGNED
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
package kotlin.text
|
package kotlin.text
|
||||||
|
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual enum class CharCategory(internal val value: Int, public actual val code: String) {
|
public actual enum class CharCategory(internal val value: Int, public actual val code: String) {
|
||||||
/**
|
/**
|
||||||
* General category "Cn" in the Unicode specification.
|
* General category "Cn" in the Unicode specification.
|
||||||
|
|||||||
@@ -105,6 +105,7 @@ public actual fun Char.isLowSurrogate(): Boolean = this in Char.MIN_LOW_SURROGAT
|
|||||||
/**
|
/**
|
||||||
* Returns the Unicode general category of this character.
|
* Returns the Unicode general category of this character.
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual val Char.category: CharCategory
|
public actual val Char.category: CharCategory
|
||||||
get() = CharCategory.valueOf(getCategoryValue())
|
get() = CharCategory.valueOf(getCategoryValue())
|
||||||
|
|
||||||
@@ -113,6 +114,7 @@ public actual val Char.category: CharCategory
|
|||||||
*
|
*
|
||||||
* A character is considered to be defined in Unicode if its [category] is not [CharCategory.UNASSIGNED].
|
* A character is considered to be defined in Unicode if its [category] is not [CharCategory.UNASSIGNED].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual fun Char.isDefined(): Boolean {
|
public actual fun Char.isDefined(): Boolean {
|
||||||
if (this < '\u0080') {
|
if (this < '\u0080') {
|
||||||
return true
|
return true
|
||||||
@@ -128,6 +130,7 @@ public actual fun Char.isDefined(): Boolean {
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isLetter
|
* @sample samples.text.Chars.isLetter
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual fun Char.isLetter(): Boolean {
|
public actual fun Char.isLetter(): Boolean {
|
||||||
if (this in 'a'..'z' || this in 'A'..'Z') {
|
if (this in 'a'..'z' || this in 'A'..'Z') {
|
||||||
return true
|
return true
|
||||||
@@ -146,6 +149,7 @@ public actual fun Char.isLetter(): Boolean {
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isLetterOrDigit
|
* @sample samples.text.Chars.isLetterOrDigit
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual fun Char.isLetterOrDigit(): Boolean {
|
public actual fun Char.isLetterOrDigit(): Boolean {
|
||||||
if (this in 'a'..'z' || this in 'A'..'Z' || this in '0'..'9') {
|
if (this in 'a'..'z' || this in 'A'..'Z' || this in '0'..'9') {
|
||||||
return true
|
return true
|
||||||
@@ -164,6 +168,7 @@ public actual fun Char.isLetterOrDigit(): Boolean {
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isDigit
|
* @sample samples.text.Chars.isDigit
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual fun Char.isDigit(): Boolean {
|
public actual fun Char.isDigit(): Boolean {
|
||||||
if (this in '0'..'9') {
|
if (this in '0'..'9') {
|
||||||
return true
|
return true
|
||||||
@@ -181,6 +186,7 @@ public actual fun Char.isDigit(): Boolean {
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isUpperCase
|
* @sample samples.text.Chars.isUpperCase
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual fun Char.isUpperCase(): Boolean {
|
public actual fun Char.isUpperCase(): Boolean {
|
||||||
if (this in 'A'..'Z') {
|
if (this in 'A'..'Z') {
|
||||||
return true
|
return true
|
||||||
@@ -198,6 +204,7 @@ public actual fun Char.isUpperCase(): Boolean {
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isLowerCase
|
* @sample samples.text.Chars.isLowerCase
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual fun Char.isLowerCase(): Boolean {
|
public actual fun Char.isLowerCase(): Boolean {
|
||||||
if (this in 'a'..'z') {
|
if (this in 'a'..'z') {
|
||||||
return true
|
return true
|
||||||
@@ -215,6 +222,7 @@ public actual fun Char.isLowerCase(): Boolean {
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isTitleCase
|
* @sample samples.text.Chars.isTitleCase
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual fun Char.isTitleCase(): Boolean {
|
public actual fun Char.isTitleCase(): Boolean {
|
||||||
if (this < '\u0080') {
|
if (this < '\u0080') {
|
||||||
return false
|
return false
|
||||||
@@ -229,6 +237,7 @@ public actual fun Char.isTitleCase(): Boolean {
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isISOControl
|
* @sample samples.text.Chars.isISOControl
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual fun Char.isISOControl(): Boolean {
|
public actual fun Char.isISOControl(): Boolean {
|
||||||
return this <= '\u001F' || this in '\u007F'..'\u009F'
|
return this <= '\u001F' || this in '\u007F'..'\u009F'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -258,6 +258,7 @@ public fun Char.isSurrogate(): Boolean = this in Char.MIN_SURROGATE..Char.MAX_SU
|
|||||||
/**
|
/**
|
||||||
* Returns the Unicode general category of this character.
|
* Returns the Unicode general category of this character.
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public expect val Char.category: CharCategory
|
public expect val Char.category: CharCategory
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -265,6 +266,7 @@ public expect val Char.category: CharCategory
|
|||||||
*
|
*
|
||||||
* A character is considered to be defined in Unicode if its [category] is not [CharCategory.UNASSIGNED].
|
* A character is considered to be defined in Unicode if its [category] is not [CharCategory.UNASSIGNED].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public expect fun Char.isDefined(): Boolean
|
public expect fun Char.isDefined(): Boolean
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -275,6 +277,7 @@ public expect fun Char.isDefined(): Boolean
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isLetter
|
* @sample samples.text.Chars.isLetter
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public expect fun Char.isLetter(): Boolean
|
public expect fun Char.isLetter(): Boolean
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -285,6 +288,7 @@ public expect fun Char.isLetter(): Boolean
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isLetterOrDigit
|
* @sample samples.text.Chars.isLetterOrDigit
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public expect fun Char.isLetterOrDigit(): Boolean
|
public expect fun Char.isLetterOrDigit(): Boolean
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -294,6 +298,7 @@ public expect fun Char.isLetterOrDigit(): Boolean
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isDigit
|
* @sample samples.text.Chars.isDigit
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public expect fun Char.isDigit(): Boolean
|
public expect fun Char.isDigit(): Boolean
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -303,6 +308,7 @@ public expect fun Char.isDigit(): Boolean
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isUpperCase
|
* @sample samples.text.Chars.isUpperCase
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public expect fun Char.isUpperCase(): Boolean
|
public expect fun Char.isUpperCase(): Boolean
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -312,6 +318,7 @@ public expect fun Char.isUpperCase(): Boolean
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isLowerCase
|
* @sample samples.text.Chars.isLowerCase
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public expect fun Char.isLowerCase(): Boolean
|
public expect fun Char.isLowerCase(): Boolean
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -321,6 +328,7 @@ public expect fun Char.isLowerCase(): Boolean
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isTitleCase
|
* @sample samples.text.Chars.isTitleCase
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public expect fun Char.isTitleCase(): Boolean
|
public expect fun Char.isTitleCase(): Boolean
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -330,6 +338,7 @@ public expect fun Char.isTitleCase(): Boolean
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isISOControl
|
* @sample samples.text.Chars.isISOControl
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public expect fun Char.isISOControl(): Boolean
|
public expect fun Char.isISOControl(): Boolean
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ package kotlin.text
|
|||||||
/**
|
/**
|
||||||
* Represents the character general category in the Unicode specification.
|
* Represents the character general category in the Unicode specification.
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public expect enum class CharCategory {
|
public expect enum class CharCategory {
|
||||||
/**
|
/**
|
||||||
* General category "Cn" in the Unicode specification.
|
* General category "Cn" in the Unicode specification.
|
||||||
|
|||||||
@@ -147,6 +147,7 @@ public actual fun Char.titlecaseChar(): Char = TODO("Wasm stdlib: Text")
|
|||||||
/**
|
/**
|
||||||
* Returns the Unicode general category of this character.
|
* Returns the Unicode general category of this character.
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual val Char.category: CharCategory get() = TODO("Wasm stdlib: Text")
|
public actual val Char.category: CharCategory get() = TODO("Wasm stdlib: Text")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -154,6 +155,7 @@ public actual val Char.category: CharCategory get() = TODO("Wasm stdlib: Text")
|
|||||||
*
|
*
|
||||||
* A character is considered to be defined in Unicode if its [category] is not [CharCategory.UNASSIGNED].
|
* A character is considered to be defined in Unicode if its [category] is not [CharCategory.UNASSIGNED].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual fun Char.isDefined(): Boolean = TODO("Wasm stdlib: Text")
|
public actual fun Char.isDefined(): Boolean = TODO("Wasm stdlib: Text")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -164,6 +166,7 @@ public actual fun Char.isDefined(): Boolean = TODO("Wasm stdlib: Text")
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isLetter
|
* @sample samples.text.Chars.isLetter
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual fun Char.isLetter(): Boolean = TODO("Wasm stdlib: Text")
|
public actual fun Char.isLetter(): Boolean = TODO("Wasm stdlib: Text")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -174,6 +177,7 @@ public actual fun Char.isLetter(): Boolean = TODO("Wasm stdlib: Text")
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isLetterOrDigit
|
* @sample samples.text.Chars.isLetterOrDigit
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual fun Char.isLetterOrDigit(): Boolean = TODO("Wasm stdlib: Text")
|
public actual fun Char.isLetterOrDigit(): Boolean = TODO("Wasm stdlib: Text")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -183,6 +187,7 @@ public actual fun Char.isLetterOrDigit(): Boolean = TODO("Wasm stdlib: Text")
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isDigit
|
* @sample samples.text.Chars.isDigit
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual fun Char.isDigit(): Boolean = TODO("Wasm stdlib: Text")
|
public actual fun Char.isDigit(): Boolean = TODO("Wasm stdlib: Text")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -192,6 +197,7 @@ public actual fun Char.isDigit(): Boolean = TODO("Wasm stdlib: Text")
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isUpperCase
|
* @sample samples.text.Chars.isUpperCase
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual fun Char.isUpperCase(): Boolean = TODO("Wasm stdlib: Text")
|
public actual fun Char.isUpperCase(): Boolean = TODO("Wasm stdlib: Text")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -201,6 +207,7 @@ public actual fun Char.isUpperCase(): Boolean = TODO("Wasm stdlib: Text")
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isLowerCase
|
* @sample samples.text.Chars.isLowerCase
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual fun Char.isLowerCase(): Boolean = TODO("Wasm stdlib: Text")
|
public actual fun Char.isLowerCase(): Boolean = TODO("Wasm stdlib: Text")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -210,6 +217,7 @@ public actual fun Char.isLowerCase(): Boolean = TODO("Wasm stdlib: Text")
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isTitleCase
|
* @sample samples.text.Chars.isTitleCase
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual fun Char.isTitleCase(): Boolean = TODO("Wasm stdlib: Text")
|
public actual fun Char.isTitleCase(): Boolean = TODO("Wasm stdlib: Text")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -219,6 +227,7 @@ public actual fun Char.isTitleCase(): Boolean = TODO("Wasm stdlib: Text")
|
|||||||
*
|
*
|
||||||
* @sample samples.text.Chars.isISOControl
|
* @sample samples.text.Chars.isISOControl
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual fun Char.isISOControl(): Boolean = TODO("Wasm stdlib: Text")
|
public actual fun Char.isISOControl(): Boolean = TODO("Wasm stdlib: Text")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ package kotlin.text
|
|||||||
/**
|
/**
|
||||||
* Represents the character general category in the Unicode specification.
|
* Represents the character general category in the Unicode specification.
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.5")
|
||||||
public actual enum class CharCategory {
|
public actual enum class CharCategory {
|
||||||
/**
|
/**
|
||||||
* General category "Cn" in the Unicode specification.
|
* General category "Cn" in the Unicode specification.
|
||||||
|
|||||||
Reference in New Issue
Block a user