deno.com

method Dirent.prototype.isSocket

#Dirent.prototype.isSocket(): boolean

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

Return Type #

boolean