Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 5
    More straightforward: Names[$Context<>"*"]. Commented May 29, 2011 at 7:30
  • & Alexey, Thank You ! Would you think about a way to list separately the Function, Variable or options used ? Many Thanks. Commented May 29, 2011 at 13:16
  • @500, I do not know how to find if it is a function you defined, but for build in function, this is how I do it isFunction[name_String]:=Module[{m}, If[Length[SyntaxInformation[Symbol[name]]]>0,True,False]]; for example: isFunction["Plot"] will return True. this works only for functions which have synatxInformation. Commented May 30, 2011 at 3:35
  • 1
    Is Names[$Context<>"*"] more straightforward because it gives the current context instead of assuming that the current context is Global? Commented Jul 29, 2014 at 20:45