doc / ch.tutteli.atrium / isTrue

isTrue

fun IAssertionPlant<Boolean>.isTrue(): IAssertionPlant<Boolean>

Makes the assertion that IAssertionPlant.subject is true.

Delegates to toBe with argument true.

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct

Return
This plant to support a fluent-style API.