fun <T : CharSequence> Assert<T>.isEmpty(): AssertionPlant<T>
(source)Makes the assertion that the Assert.subject CharSequence.kotlin.text.isEmpty.
AssertionError
- Might throw an AssertionError if the assertion made is not correct.
Return
This plant to support a fluent API.