xorAll

fun xorAll(vararg flags: Boolean?): Boolean?

Performs logical xor operations on multiple boolean values. If a part of the values is null, it is ignored to performs the operations. If there is only one valid value, the result is the value itself. If all values are null or no value, the result is null.

Return

A result of logical xor operations, or null if all values are null or no value.

Parameters

flags

Variable number of boolean values