Import std.core.format
Dump
function
Public Function Dump<T>(value: T): String
The debug form of value, with each part on a line of its own, as "{value:#?}" gives it.
Examples
Struct Point
Field X: Int
Field Y: Int
End Struct
Local shown = Dump(Point(1, 2))
Expect(shown.Contains("X") && shown.Contains("1") && shown.Contains("\n"))Report an issue with this page or with FutureBlitz on GitHub.