kotlin.text.equals

equals

fun String?.equals(
    other: String?, 
    ignoreCase: Boolean = false
): Boolean

Returns true if this string is equal to other, optionally ignoring character case.

Parameters

ignoreCase - true to ignore character case when comparing strings. By default false.

fun Char.equals(
    other: Char, 
    ignoreCase: Boolean = false
): Boolean

Ret