kformat icon indicating copy to clipboard operation
kformat copied to clipboard

Adds methods toString and print to a stream

Open JoarSvartholm opened this issue 2 years ago • 0 comments

Would also be nice to more quickly be able to format/print a table. Right now the pattern to print the table to stdout is:

table {
...
}
  .render()
  .also { println(it) }

An alternative would be to add overload fun render(printStream: PrintStream = System.out) 🤔

JoarSvartholm avatar Sep 16 '22 09:09 JoarSvartholm