Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
Babashka
clojure.java.io
as-relative-path
as-relative-path
function
v1.2
clojure.java.io/as-relative-path
Available in:
BB
CLJ
(
as-relative-path
[
x
]
)
Take an as-file-able thing and return a string if it is a relative path, else IllegalArgumentException.
Examples
Sign in to contribute
Code
Platforms
Clojure
ClojureScript
Babashka
Submit
Cancel
No examples yet. Be the first to add one!
Categories
I/O › File Operations
See Also
*sh-dir*
*sh-env*
Coercions
as-file
as-url
copy
delete-file
exec
exit-ref
file
← as-file
as-url →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4