All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kotlin.Char.kt Maven / Gradle / Ivy

There is a newer version: 2.1.0-Beta1
Show newest version
package kotlin

public fun Char.isDefined(): Boolean = Character.isDefined(this)

public fun Char.isDigit(): Boolean = Character.isDigit(this)

public fun Char.isHighSurrogate(): Boolean = Character.isHighSurrogate(this)

public fun Char.isIdentifierIgnorable(): Boolean = Character.isIdentifierIgnorable(this)

public fun Char.isISOControl(): Boolean = Character.isISOControl(this)

public fun Char.isJavaIdentifierPart(): Boolean = Character.isJavaIdentifierPart(this)

public fun Char.isJavaIdentifierStart(): Boolean = Character.isJavaIdentifierStart(this)

public fun Char.isJavaLetter(): Boolean = Character.isJavaLetter(this)

public fun Char.isJavaLetterOrDigit(): Boolean = Character.isJavaLetterOrDigit(this)

/**
 * Returns true if the character is whitespace
 *
 * @includeFunctionBody ../../test/StringTest.kt count
 */
public fun Char.isWhitespace(): Boolean = Character.isWhitespace(this)

/**
 * Returns true if this character is upper case
 */
public fun Char.isUpperCase(): Boolean = Character.isUpperCase(this)

/**
 * Returns true if this character is lower case
 */
public fun Char.isLowerCase(): Boolean = Character.isLowerCase(this)

/**
 * Concatenates this Char and a String
 */
public fun Char.plus(string: String) : String = this.toString() + string




© 2015 - 2024 Weber Informatics LLC | Privacy Policy