Multiple or's

Is there a way to make this shorter:

if (myVar == 10 || myVar == 30 || myVar == 31 || myVar == 33) {
	myFunction();
}

I thought about using an array, but can’t I do it easier? Something like this…?

if (myVar == (10, 30, 31, 33)) {
	myFunction();
}