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

---
## Properties

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

## Methods

### isDirectory()

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

#### Returns

`boolean`

***

### isFile()

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

#### Returns

`boolean`
