noUnused

inline fun TegralDiCheckDsl.noUnused(block: NoUnusedCheckDsl.() -> Unit = {})

Creates a NoUnusedCheck.

You can optionally add a lambda as a parameter to exclude specific components from this check.

This check succeeding without any components being excluded means that noCycle will always fail.