mirror of
https://github.com/xenia-project/premake-core.git
synced 2025-02-21 12:32:44 +00:00
744 B
744 B
Returns true if a file system path has the given file extension.
path.hasextension("path", "ext")
Parameters
path
is the file system path to be tested.
ext
is the file extension to check. May be a single string or an array of strings.
Return Value
True if path
matches any of the provided file extensions.
Availability
Premake 5.0 or later.