File.fileExists

Returns true if the file exists in the given path. Note: Many resources types are imported (e.g. textures or sound files), and their source asset will not be included in the exported game, as only the imported version is used. See ResourceLoader.exists for an alternative approach that takes resource remapping into account.

struct File
@nogc nothrow const
bool
fileExists
(
in String path
)

Meta