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

isOnPath

fun isOnPath(description: Description): Boolean

Returns true if this instance is on the path to the given descripton. That is, if this instance is either an ancestor of, of the same as, the given description.