orAll

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

Performs logical or 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 or operations, or null if all values are null or no value.

Parameters

flags

Variable number of boolean values