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

See also recent How to check if variable is a typed global?

1 Like