# View all functions exported in a package

**URL:** <https://discourse.julialang.org/t/view-all-functions-exported-in-a-package/42794>\
**Category:** New to Julia\
**Tags:** package\
**Created:** [July 9, 2020, 6:06pm UTC](https://discourse.julialang.org/t/view-all-functions-exported-in-a-package/42794 "2020-07-09T18:06:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Albert\_Zevelev](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/albert_zevelev/32/11844_2.png) [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Post date:** [July 9, 2020, 6:06pm UTC](https://discourse.julialang.org/t/view-all-functions-exported-in-a-package/42794/1 "2020-07-09T18:06:32Z")

</div>

Suppose I want to see all functions exported (& not exported) in a package, how can I do this?

Suppose I load two packages which include a function `train` w/ the same, how can I compare all functions side by side to quickly see which have the same names?

---

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [July 9, 2020, 6:10pm UTC](https://discourse.julialang.org/t/view-all-functions-exported-in-a-package/42794/2 "2020-07-09T18:10:31Z")

</div>

Try `names(module_name)` :

```julia
help?> names
search: names fieldnames propertynames nameof NamedTuple dirname tempname fullname basename fieldname gethostname

  names(x::Module; all::Bool = false, imported::Bool = false)

  Get an array of the names exported by a Module, excluding deprecated names. If all is true, then the list also
  includes non-exported names defined in the module, deprecated names, and compiler-generated names. If imported is
  true, then names explicitly imported from other modules are also included.

```

---

<div class="post-metadata">

**Author:** ![Albert\_Zevelev](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/albert_zevelev/32/11844_2.png) [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Post date:** [July 9, 2020, 6:54pm UTC](https://discourse.julialang.org/t/view-all-functions-exported-in-a-package/42794/3 "2020-07-09T18:54:52Z")

</div>

@rdeits thanks!  
`names(module_name)` gives all stuff: functions/types/macros etc  
This is great.
