toString

fun <T, C> toString(delegate: ItemVisualizer<String, C>, mapper: (T) -> String = { "$it" }): ItemVisualizer<T, C>(source)

Visualizes a string representation of the item (obtained from mapper) using delegate.

Parameters

delegate

to visualize the item's string representation

mapper

to convert the item to a string