io/fs.statDirEntry.IsDir (method)

one use

	io/fs (current package)
		walk.go#L125: func (d *statDirEntry) IsDir() bool             { return d.info.IsDir() }