I'm trying to show an image if the content type is an image, a video player if the content type is a player, show a pdf viewer if the file type is a pdf, etc. Can I use default "Show / Hide" with the expression editor? Or do I need to introduce custom JS embed?
I see okay. I'm using directus as backend so i can't change too much of how its returned. I'll use the or. Sounds good. I tried ai and it gave me .includes. and couldnt get from the docs what's possible.