You're viewing version 1.2.0 of as-file. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16

as-file

clojure.java.io

  • (as-file x)
Coerce argument to a file.

1 Example top

  • user=> (use 'clojure.java.io)
    user=> (.exists (as-file "myfile.txt"))
    false
Log in to add / edit an example.

See Also top

Log in to add a see also.

Comments top

No comments for as-file. Log in to add a comment.