-
Notifications
You must be signed in to change notification settings - Fork 6
library__file
Robert Bossy edited this page Jul 27, 2017
·
1 revision
#file
file provides function to check either a path exists, and check its type.
file:dir(path)
Evaluates path as a string and returns true if it is a path to an existing directory.
file:exists(path)
Evaluates path as a string and returns true if it is a path to an existing file of any type.
file:regular(path)
Evaluates path as a string and returns true if it is a path to an existing regular file.