useRelaxerIf

abstract fun useRelaxerIf(condition: Boolean, relaxer: (String) -> Value)

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.