ResultOfPrinterExtension<R> extension

on

Methods

cast<T>() Printer<T>
Returns a printer that accepts values of type T and casts them to R for printing.
onResultOf<T>(Map1<T, R> function) Printer<T>
Returns a printer that accepts values of type T and invokes the provided callback to transform it to type R for printing.