src/node.js
function useColors() {
	return 'colors' in exports.inspectOpts ?
		Boolean(exports.inspectOpts.colors) :
		tty.isatty(process.stderr.fd);
}
function useColors() {
	return 'colors' in exports.inspectOpts ?
		Boolean(exports.inspectOpts.colors) :
		tty.isatty(process.stderr.fd);
}
function useColors ( ) { return 'colors' in exports . inspectOpts ? Boolean ( exports . inspectOpts . colors ) : tty . isatty ( process . stderr . fd ) ; }
Is stdout a TTY? Colored output is enabled when `true`.
Is stdout a TTY? Colored output is enabled when true .