<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`DataAdapter`](DataAdapter) › [`exists`](DataAdapter/exists)
## DataAdapter.exists() method
Check if something exists at the given path. For a faster way to synchronously check if a note or attachment is in the vault, use [Vault.getAbstractFileByPath()](Vault/getAbstractFileByPath)<!-- -->.
**Signature:**
```typescript
exists(normalizedPath: string, sensitive?: boolean): Promise<boolean>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| <code>normalizedPath</code> | <code>string</code> | path to file/folder, use [normalizePath()](normalizePath) to normalize beforehand. |
| <code>sensitive</code> | <code>boolean</code> | _(Optional)_ Some file systems/operating systems are case-insensitive, set to true to force a case-sensitivity check. |
**Returns:**
`Promise<boolean>`