test

abstract fun test(value: T, dryRun: Boolean): Boolean

Tests the given value against the rule.

Return

true if the value passes the rule; false otherwise.

Parameters

value

The value to test.

dryRun

Whether to perform the test without side effects.