FoundPath
(string) The path to the file that was found.
The callback function should return a boolean value (true or false) indicating whether the find operation should continue:
VALUE DESCRIPTION |
|
true |
Continue with the find operation. |
false |
Stop the find operation as soon as possible. |
Re t u r n s
(table) A table containing the paths to all of the files that were found. If no files were found or an error occurs, nil is returned. You can use Application.GetLastError to determine whether this action failed, and why.
Note: If IncludeFolders is true, the result will always include the folders that were encountered during the search.