*ns*

dynamic varsince v1.7.10 clojure.core/*ns*Edit

Var bound to a Namespace object representing the current namespace. Only used for bootstrapping.


Details:

Only accessible at runtime from a bootstrapped REPL. Nil otherwise.


Examples:

Example below in a bootstrapped REPL:

(in-ns 'cljs.user)
*ns*
;;=> #object[cljs.core.Namespace]

(str *ns*)
;;=> "cljs.user"

Source docstring:
Var bound to the current namespace. Only used for bootstrapping.
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(def
  ^{:dynamic true
    :jsdoc ["@type {*}"]}
  *ns* nil)