“Scala Princiate” kodu Cevap

Scala Tahmini
//A predicate is a function that returns a Boolean.
//For example, to check if an Integer is even we can define the 
//function isEven.

def isEven(i: Int) = i % 2 == 0
isEven: (i: Int)Boolean