Skip to content

os.islink

Jason Perkins edited this page May 28, 2014 · 7 revisions

The os.islink function determines if the given path is a symlink or reparse point.

#!lua
os.islink(path)

Parameters

path is the path to the file or directory to be checked.

Return Value

Returns true if the path represents a symlink or Windows reparse point; false otherwise.

Clone this wiki locally