Topic: Make new function with a ?
Hello! How do I make a new function that uses a ? in it, like .nil? This is what I have right now:
def exists? (teacher)
However, when I use it, for example: Teacher.find_by_id(1).exists? then I get an error that it's missing arguments. How do I do this?