Making variables array and compare

It’s a function, so you just use it like this: