*file*

clojure.core

The path of the file being evaluated, as a String.

Evaluates to nil when there is no file, eg. in the REPL.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Comments top

2 comment(s) for *file*.

Does this actually work? I couldn't get it to print anything but NO_SOURCE_PATH. (And no, this wasn't in the REPL.)

If you're having trouble getting this feature to work as advertised, check out this StackOverflow Question.

Log in to add a comment.