check

fun check(g: ProjectGraph = graph)

Executes the compiled function rules against the provided project graph. Throws an AssertionError if any rule violations are detected.