method Dirent.prototype.isSocket Usage in Denoimport { Dirent } from "node:fs"; Dirent.prototype.isSocket(): boolean Returns true if the fs.Dirent object describes a socket. Return Type boolean