Skip to content

library__file

Robert Bossy edited this page Jul 27, 2017 · 1 revision

#file

Synopsis

file provides function to check either a path exists, and check its type.

Functons

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.

Clone this wiki locally