Correct way to filter files section by multiple file extensions

What is the correct way to filter a files section by multiple file extensions?

I have tried query:

query: page.images.filterBy('extension', 'in' ['jpg', 'png'])

and

query: page.images.filterBy('extension', ['jpg', 'png'])

but neither of these work.

I can only filter by one extension

query: page.images.filterBy('extension', 'jpg')

I want to only show jpg and png files

Thank you

Okay, it seems that I had a small typo

adding a comma after the 'in'fixed it

query: page.images.filterBy('extension', 'in', ['jpg', 'png'])

And now it works

Thanks @nilsmielke for the Discord message