- Dokumentacja
- Funkcje serwera
- pathIsDirectory
Funkcja
pathIsDirectory
Sprawdza, czy ścieżka w folderze zasobu wskazuje na folder.
Składnia
bool pathIsDirectory(string path)Argumenty
pathstring- Ścieżka.
Zwraca
true dla folderu.
Przykład
if not pathIsDirectory("logs") then outputDebugString("Brak folderu logs") end