use Relaxer If
abstract fun useRelaxerIf(condition: Boolean, relaxer: (String) -> Value)
Content copied to clipboard
Binds a given Relaxer function to a Proxy if the condition is true. This will wipe a given relaxer.
Parameters
condition
which determines if the relaxer should be invoked or not.
relaxer
the relaxer method.