Skip to content
mba105 edited this page Sep 24, 2014 · 2 revisions

Home > [Scripting Reference](Scripting Reference) > path.iscfile


path.iscfile

The path.iscfile function returns true if the specified path represents a C source code file, based on its file extension.

#!lua
path.iscfile("path")

Parameters

path is the file system path to check.

Return Value

True if the path matches a well-known C file extension, false otherwise.

Clone this wiki locally