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

Usage in Deno

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

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

Return Type

boolean