dump

func dump<T>(_: T, name: String?, indent: Int, maxDepth: Int, maxItems: Int)

Dump an object's contents using its mirror to standard output.

Declaration

func dump<T>(x: T, name: String? = default, indent: Int = default, maxDepth: Int = default, maxItems: Int = default) -> T
func dump<T, TargetStream : OutputStreamType>(_: T, inout _: TargetStream, name: String?, indent: Int, maxDepth: Int, maxItems: Int)

Dump an object's contents using its mirror to the specified output stream.

Declaration

func dump<T, TargetStream : OutputStreamType>(x: T, inout _ targetStream: TargetStream, name: String? = default, indent: Int = default, maxDepth: Int = default, maxItems: Int = default) -> T