assertk / assertk.assertions.support / show

show

(common, jvm) fun show(value: Any?, wrap: String = "<>"): String

Shows the primary value in a failure message.

Parameters

value - The value to display.

wrap - What characters to wrap around the value. This should be a pair of characters where the first is at the beginning and the second is at the end. For example, "()" will show (value). The default is "<>".