Skip to contents

Check if a directory path exists.

Usage

directory_exists(dir_path)

Arguments

dir_path

A string.

Value

A logical

Note

This function has been auto-generated from the following Raylib function definition:

bool DirectoryExists(const char * dirPath);

See also

Other exists functions: file_exists()

Examples

if (FALSE) {
directory_exists("file.png")
}