# Sandbox.BaseFileSystem.DirectoryExists

```csharp
bool DirectoryExists(string path)
```

Returns true if the directory exists on this filesystem

### Parameters

- `path` (`string`)

### Returns

`bool`

Declared in [Sandbox.BaseFileSystem](/api/Sandbox.BaseFileSystem).
Assembly: `Sandbox.Filesystem`.
