WLJS LogoWLJS Notebook

Context

Context[] gives the current context. Context[symbol] gives the context in which a symbol appears.

Examples

Get the current context:

Context[]
(* "Global`" *)

Get context of a built-in symbol:

Context[Sin]
(* "System`" *)

Get context of a user symbol:

Context[myVar]
(* "Global`" *)

Please visit the official Wolfram Language Reference for more details.

On this page