---
jsApi: true
title: "[I] Dirent"

---
## Properties

| Property | Type |
| :------ | :------ |
| `name` | `string` |

## Methods

### isDirectory()

```ts
isDirectory(): boolean
```

#### Returns

`boolean`

***

### isFile()

```ts
isFile(): boolean
```

#### Returns

`boolean`
