-
-
Notifications
You must be signed in to change notification settings - Fork 616
path.hasextension
starkos edited this page Apr 10, 2021
·
3 revisions
This wiki is no longer being maintained.
Returns true if a file system path has the given file extension.
path.hasextension("path", "ext")
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.
True if path
matches any of the provided file extensions.
Premake 5.0 or later.