Replace @LowPriorityInOverloadResolution with @DeprecatedSinceKotlin #KT-37101
This commit is contained in:
@@ -306,9 +306,10 @@ public expect val String.Companion.CASE_INSENSITIVE_ORDER: Comparator<String>
|
||||
/**
|
||||
* Returns `true` if the content of this string is equal to the word "true", ignoring case, and `false` otherwise.
|
||||
*/
|
||||
@LowPriorityInOverloadResolution
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun String.toBoolean(): Boolean = this.toBoolean()
|
||||
public expect fun String.toBoolean(): Boolean
|
||||
|
||||
/**
|
||||
* Returns `true` if this string is not `null` and its content is equal to the word "true", ignoring case, and `false` otherwise.
|
||||
|
||||
Reference in New Issue
Block a user