If a variable matches an item in a list

Hi! I'm trying to write an if statement that will show a block of text if the price (us price) matches a list of prices. From reading the documentation, I thought this would be it, but I'm getting the error that "any" is not a function. What should I change?

{changedprices=["5.99", "6.99", "8.99"]}
{if: any(changedprices)=`us price`}

Hi @megan.gendell
You're looking for the includes function:

{if: includes(changedprices,us price)}Yeay!{endif}

Thanks! I use includes all the time, just didn't have the syntax quite right. Appreciate it!