```dataviewjs
function getVaultPath(app: App){
let adapter = app.vault.adapter;
if (adapter instanceof FileSystemAdapter){
return adapter.getBasePath();
}
return null;
}
console.log(getVaultPath());
```