dirent.isSocket()
返回上层文档
新增于: v10.10.0
返回:
<boolean>
如果
<fs.Dirent>
对象描述的是套接字,则返回
true
。
【Returns
true
if the
<fs.Dirent>
object describes a socket.】