Julia has the isfile() function to test for a regular file:
julia> isfile("foo.txt")
false
shell> touch foo.txt
julia> isfile("foo.txt")
true
As the documentation:
Returns true if path (the parameter) is a regular file, false otherwise.
Julia has the isfile() function to test for a regular file:
julia> isfile("foo.txt")
false
shell> touch foo.txt
julia> isfile("foo.txt")
true
As the documentation:
Returns true if path (the parameter) is a regular file, false otherwise.