Does a method that ends with a question mark have to return a boolean in Crystal?
for example:
def isTomato?(color : String, shape : String)
color == "red" && (shape == "round" || shape == "sphere")
end
Does this differ if it’s a function outside of a class or if its a method in a class?