public static bool StandardHandleIsTty(Program program, NativeMethods.StandardHandleType handleType) { var standardHandle = NativeMethods.GetStdHandle(handleType); var handleFileType = NativeMethods.GetFileType(standardHandle); return(handleFileType == NativeMethods.FileType.Char); }
internal bool StandardHandleIsTty(NativeMethods.StandardHandleType handleType) => _standardHandleIsTty(this, handleType);
private bool StandardHandleIsTty(NativeMethods.StandardHandleType handleType) => _standardHandleIsTty(this, handleType);