I have 3 arrays and I would like to pass an if statement if only 1 of the 3 arrays are not empty. I only want to pass it if only 1 is not empty and the other 2 are empty.
Right now I have a crazy if statement and was wondering if it can be simplified
if((a && !b && !c) || (!a && b && !c) || (!a && !b && c))