kotest-core / io.kotest.core.test / Description / isTopLevel

isTopLevel

fun isTopLevel(): Boolean

Returns true if this test is a top level test. In other words, if the test has no parents other than the spec itself.