io/fs.FileMode.IsRegular (method)

one use

	io/fs (current package)
		fs.go#L229: func (m FileMode) IsRegular() bool {