//go:build !appengine && !js && !windows && !nacl && !plan9 && !wasi && !wasip1 && !tinygo

package logrus

import (
	
	
)

func checkIfTerminal( io.Writer) bool {
	switch v := .(type) {
	case *os.File:
		 := .Fd()
		if  > uintptr(^uint(0)>>1) {
			return false
		}
		return isTerminal(int())
	default:
		return false
	}
}