-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.IsFileNameValid
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Check if fileName is valid for the platform/OS
| Parameter | Default Value | Note |
|---|---|---|
| fileName |
| Condition | Return Value |
|---|---|
| (always) | number |
names = ["my_save.dat", "bad/name", "score.txt"]
for name in names
if raylib.IsFileNameValid(name) then
print name + " is valid"
else
print name + " is INVALID"
end if
end for