I recently stumbled into an abstract class with the following method :
abstract class Boolean {
def && (x: => Boolean): Boolean = etc...
}
I was wondering what was the meaning of x: => Boolean
? does it mean that x
can be of any type and it does produce a boolean ? or that is that x is of the type of the abstract class ?
thanks