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

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


path.iscppfile

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

#!lua
path.iscppfile("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