Documentation / dataflow / com.femastudios.dataflow.util / mapFieldOf
Go to reference
Go to reference
mapFieldOf
fun <K, V> mapFieldOf(): Field<Map<K, V>>
Returns a constant Field that holds an empty Map
See Also
fun <K, V> mapFieldOf(element: Pair<K, V>): Field<Map<K, V>>
Returns a constant Field that holds a Map containing the given key and value (expressed as a Pair)
See Also
fun <K, V> mapFieldOf(vararg elements: Pair<K, V>): Field<Map<K, V>>
Returns a constant Field that holds a Map containing the given keys and values (expressed as Pairs)
See Also