I am not sure how to get this to pass for true and not true

I am not sure how to get this to pass so true or false will come back depending on if the array has content or not.

def no_fruits?(a)
  [].empty? 
end


Source: ruby

Leave a Reply