isSocket

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

Since

v10.10.0