Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / format
Go to reference

format

fun Attribute<String>.format(locale: Attribute<Locale>, vararg args: Attribute<Any?>): Attribute<String>
fun Attribute<String>.format(locale: Attribute<Locale>, vararg args: Any?): Attribute<String>
fun Attribute<String>.format(locale: Locale, vararg args: Attribute<Any?>): Attribute<String>
fun Attribute<String>.format(locale: Locale, vararg args: Any?): Attribute<String>
fun Attribute<String>.format(vararg args: Attribute<Any?>): Attribute<String>
fun Attribute<String>.format(vararg args: Any?): Attribute<String>

Same as format, but accepts Attribute and returns a new Attribute.

Calling this function is equivalent to use transform and calling format in the transformation function.

This is simply a convenience function.

See Also

kotlin.text.format