# How to check whether a variable is reassignable or not? (e.g. whether it is a function definition)

**URL:** <https://discourse.julialang.org/t/how-to-check-whether-a-variable-is-reassignable-or-not-e-g-whether-it-is-a-function-definition/103276>\
**Category:** General Usage\
**Tags:** question\
**Created:** [August 28, 2023, 7:52am UTC](https://discourse.julialang.org/t/how-to-check-whether-a-variable-is-reassignable-or-not-e-g-whether-it-is-a-function-definition/103276 "2023-08-28T07:52:44Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Eben60](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/eben60/32/13475_2.png) [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Post date:** [August 28, 2023, 5:21pm UTC](https://discourse.julialang.org/t/how-to-check-whether-a-variable-is-reassignable-or-not-e-g-whether-it-is-a-function-definition/103276/6 "2023-08-28T17:21:22Z")

</div>

See also recent [How to check if variable is a typed global?](https://discourse.julialang.org/t/how-to-check-if-variable-is-a-typed-global/103172)

---

_[View the full topic](https://discourse.julialang.org/t/how-to-check-whether-a-variable-is-reassignable-or-not-e-g-whether-it-is-a-function-definition/103276)._
