Skip to content

raylib.IsPathDirectory

JoeStrout edited this page Oct 17, 2026 · 1 revision

Check if provided path points to an existing directory

Parameters

Parameter Default Value Note
path

Return value

Condition Return Value
(always) number

Notes

Returns false for paths that do not exist. (raylib's own IsPathDirectory returns true for anything that isn't a regular file; this wrapper also requires the directory to exist.)

Example

if raylib.IsPathDirectory("assets") then print "assets is a directory"

Clone this wiki locally