strikt-core / strikt.assertions / isNotEmpty

isNotEmpty

fun <T : CharSequence> Builder<T>.isNotEmpty(): Builder<T>

Asserts that the subject is not the empty string (contains at least one character).

See Also

CharSequence.isNotEmpty