[JS Api](../index.md) / Dirent

# Interface: Dirent

## Table of contents

### Properties

- [name](Dirent.md#name)

### Methods

- [isDirectory](Dirent.md#isdirectory)
- [isFile](Dirent.md#isfile)

## Properties

### name

• **name**: `string`

## Methods

### isDirectory

▸ **isDirectory**(): `boolean`

#### Returns

`boolean`

___

### isFile

▸ **isFile**(): `boolean`

#### Returns

`boolean`
