mirror of
https://github.com/lazuscripts/utility.git
synced 2024-11-16 03:14:21 +00:00
c615ea4b1f
tl;dr: rewriting history of this repo because I have accidentally included the history of OTHER repos in it due to either a bug with git subtree or a misunderstanding of how it functions on my part
11 lines
134 B
Plaintext
11 lines
134 B
Plaintext
exists = (file_path) ->
|
|
handle = io.open file_path, "r"
|
|
if handle
|
|
handle\close!
|
|
return true
|
|
return false
|
|
|
|
{
|
|
:exists
|
|
}
|