method Dirent.prototype.isSocketDirent.prototype.isSocket(): booleanDeprecatedReturns true if the fs.Dirent object describes a socket. Return Typeboolean