Function ResourceLoaderSingleton.exists

Returns whether a recognized resource exists for the given path. An optional type_hint can be used to further specify the Resource type that should be handled by the ResourceFormatLoader.

bool exists (
  const(String) path,
  const(String) type_hint = GodotStringLiteral().str()
) nothrow @nogc;