assertk / assertk.assertions / startsWith

startsWith

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

Asserts the string starts with the expected string.

Parameters

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

See Also

endsWith