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