Documentation / dataflow / com.femastudios.dataflow.util / fieldOf
Go to reference

fieldOf

fun <T> fieldOf(value: T): Field<T>

Construct a constant Field with the given value.

For common values, the Field is cached to avoid creating new objects.

See Also

Field

ConstantField