StartIntroduction
sUNC Reference
Closures
Debug
Drawing
Encoding
Environment
Filesystem
appendfiledelfiledelfoldergetcustomassetisfileisfolderlistfilesloadfilemakefolderreadfilewritefile
Instances
Metatable
Miscellaneous
Reflection
Scripts
Signals
WebSocket
Related to sUNC docsOfficial reference
Filesystemisfile
Filesystem

isfile

Checks whether a path exists and is a file.

Related to sUNC documentation

This page follows the official sUNC reference.

Signature

Luau
function isfile(path: string): boolean

Returns

true when the path is a file.

PreviousgetcustomassetNextisfolder
On this pagesUNC sourceSignatureReturns