ConditionScopes.ConditionScope


class ConditionScopes.ConditionScope<T : DynamicBuilders.DynamicType?, RawT>


Condition scope to allow binding the true value in a onConditional expression. RawT is the native Java type that can be used when constructing a constant T (e.g. String for DynamicString).

Summary

Public functions

ConditionScopes.IfTrueScope<T!, RawT!>
use(valueWhenTrue: T!)

Sets the value to use as the value when true in a conditional expression.

ConditionScopes.IfTrueScope<T!, RawT!>
use(valueWhenTrue: RawT!)

Sets the value to use as the value when true in a conditional expression.

Public functions

use

Added in 1.0.0
fun use(valueWhenTrue: T!): ConditionScopes.IfTrueScope<T!, RawT!>

Sets the value to use as the value when true in a conditional expression.

use

Added in 1.0.0
fun use(valueWhenTrue: RawT!): ConditionScopes.IfTrueScope<T!, RawT!>

Sets the value to use as the value when true in a conditional expression.