Skip to main content
Up or down tonavigateEnter toselectEscape toclose⌘⇧KAI

method Dirent.prototype.isSocket

#Dirent.prototype.isSocket(): boolean

Returns true if the fs.Dirent object describes a socket.

Return Type #

boolean