---
layout: "default"
title: "dump"
description: "Swift documentation for 'dump': Dumps an object&#39;s contents using its mirror to standard output."
keywords: "dump,func,swift,documentation"
root: "/v3.0"
---

<div class="declaration" id="func-dump-t_-t-name_-string-indent_-int-maxdepth_-int-maxitems_-int">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-dump-t_-t-name_-string-indent_-int-maxdepth_-int-maxitems_-int">func dump&lt;T&gt;(<wbr>_:<wbr> T, name:<wbr> String?, indent:<wbr> Int