ofConstant

fun ComponentPredicate.Companion.ofConstant(constant: Boolean): ComponentPredicate(source)

Returns a predicate that always returns constant.