> For the complete documentation index, see [llms.txt](https://abdullah-aly.gitbook.io/jsonbyte/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://abdullah-aly.gitbook.io/jsonbyte/property/exists.md).

# Exists

you can check exists property via `file.exists` function

```javascript
const json = require("jsonbyte");


const file = new json("./file.json")

const exists = file.exists("username");

if (exists) return console.log("username is exists"); // reutrn if exists
else return console.log("username is not exists"); // return if not exists
```
