Skip to content

raylib.DirectoryExists

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Check if a directory path exists

Parameters

Parameter Default Value Note
dirPath

Return value

Condition Return Value
(always) number

Notes

Example

if raylib.DirectoryExists("output") then
    print "Output directory found."
else
    print "Output directory missing."
end if

Clone this wiki locally