title: InvalidSelectCase layout: article

InvalidSelectCase occurs when a select case is not a channel send or
receive.

Example:
 func checkChan(c {{raw "<"}}-chan int) bool {
 	select {
 	case c:
 		return true
 	default:
 		return false
 	}
 }