assertk.assertions / hasLength

hasLength

fun Assert<CharSequence>.hasLength(length: Int): Unit

Platform and version requirements: Common

Asserts the char sequence has the expected length.