I have been reading some code and found a line of code which looked like this:
ApplyEffects[filterButton.id](originalPhoto, 'jpeg');
I have never seen what I assume is a function called like this and searched google but can't find out what it means. In the code also there is no function called ApplyEffects or any variables called ApplyEffects, just this one line of code. I thought it could be a mistake so I commented out this line and the code stops working so it serves a purpose, but I have never seen this syntax before and am unsure what it does. What do these brackets mean?
UPDATE: Sorry I found out there is an array variable called ApplyEffects.