Skip to contents

Check file extension (recommended include point: .png, .wav).

Usage

is_file_extension(file_name, ext)

Arguments

file_name

A string.

ext

A string.

Value

A logical

Note

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

bool IsFileExtension(const char * fileName, const char * ext);

Examples

if (FALSE) {
is_file_extension("file.png", ".png")
}