assertk.assertions / startsWith

startsWith

fun Assert<String>.startsWith(other: String, ignoreCase: Boolean = false): Unit

Platform and version requirements: Common

Asserts the string starts with the expected string.

Parameters

ignoreCase - true to compare ignoring case, the default if false.

See Also

endsWith