Merge pull request #336 from christian-laakmann/patch-1
KT-4371 Add Char.plus(String) to standard library
This commit is contained in:
@@ -34,3 +34,8 @@ public fun Char.isUpperCase(): Boolean = Character.isUpperCase(this)
|
|||||||
* Returns true if this character is lower case
|
* Returns true if this character is lower case
|
||||||
*/
|
*/
|
||||||
public fun Char.isLowerCase(): Boolean = Character.isLowerCase(this)
|
public fun Char.isLowerCase(): Boolean = Character.isLowerCase(this)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Concatenates this Char and a String
|
||||||
|
*/
|
||||||
|
public fun Char.plus(string: String) : String = this.toString() + string
|
||||||
|
|||||||
Reference in New Issue
Block a user