Skip to main content
Dirent.prototype.isCharacterDevice - fs - Node documentation
method Dirent.prototype.isCharacterDevice

Usage in Deno

import { Dirent } from "node:fs";
Dirent.prototype.isCharacterDevice(): boolean

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

Return Type

boolean
Back to top