✅ How to correctly write conditions with expressions?
I have this code:
everything is ok but i would like to know is it possible to write smth like this?
I don't understand how to do this with expressions
everything is ok but i would like to know is it possible to write smth like this?
if(book is Horror or Pony) {...}I don't understand how to do this with expressions