Generic Function

dump(_:to:name:indent:maxDepth:maxItems:)

Dumps an object’s contents using its mirror to the specified output stream.

Declaration

@discardableResult func dump<T, TargetStream>(_ value: T, to target: inout TargetStream, name: String? = default, indent: Int = default, maxDepth: Int = default, maxItems: Int = default) -> T where TargetStream : TextOutputStream

Relationships

Generic Constraints

  • TargetStream : TextOutputStream