# How to know how an object is displayed?

**URL:** <https://discourse.julialang.org/t/how-to-know-how-an-object-is-displayed/2035>\
**Category:** New to Julia\
**Created:** [February 11, 2017, 12:43am UTC](https://discourse.julialang.org/t/how-to-know-how-an-object-is-displayed/2035 "2017-02-11T00:43:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chobbes](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@chobbes](https://discourse.julialang.org/u/chobbes)\
**Post date:** [February 11, 2017, 12:43am UTC](https://discourse.julialang.org/t/how-to-know-how-an-object-is-displayed/2035/1 "2017-02-11T00:43:29Z")

</div>

I’m familiarizing myself with a package written by others. What I’m curious to know is how an object is printed at the console when I type this object’s name at REPL. I think the authors of the package overrode the default way of displaying and redefined it somewhere in the package. But I couldn’t locate the overridden display function as I don’t know the keywords by searching which I can find the redefinition.

In Matlab, such a customized display is achieved by overridden function of `disp`. I wonder the keyword in Julia. Could anyone leave me a hint? Thanks!!

---

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [February 11, 2017, 12:44am UTC](https://discourse.julialang.org/t/how-to-know-how-an-object-is-displayed/2035/2 "2017-02-11T00:44:54Z")

</div>

See [http://docs.julialang.org/en/latest/manual/types.html#Custom-pretty-printing-1](http://docs.julialang.org/en/latest/manual/types.html#Custom-pretty-printing-1)

---

<div class="post-metadata">

**Author:** ![chobbes](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@chobbes](https://discourse.julialang.org/u/chobbes)\
**Post date:** [February 11, 2017, 12:58am UTC](https://discourse.julialang.org/t/how-to-know-how-an-object-is-displayed/2035/3 "2017-02-11T00:58:05Z")

</div>

Thanks a lot for the pointer.
