Dirent.prototype.isCharacterDevice - Node documentation
method Dirent.prototype.isCharacterDevice

Usage

import { Dirent } from "node:fs";

Returns true if the fs.Dirent object describes a character device.

Return Type

boolean