Performs `OR` operation on two arrays. If either left or right value is null then the result is also null. # Error This function errors when the arrays have different lengths. # Example ```rust # use arrow_array::BooleanArray; # use arrow_arith::boolean::or; let a = BooleanArray::from(vec![Some(false), Some(true), None]); let b = BooleanArray::from(vec![Some(true), Some(true), Some(false)]); let o
(left: &BooleanArray, right: &BooleanArray)
| 271 | /// assert_eq!(or_ab, BooleanArray::from(vec![Some(true), Some(true), None])); |
| 272 | /// ``` |
| 273 | pub fn or(left: &BooleanArray, right: &BooleanArray) -> Result<BooleanArray, ArrowError> { |
| 274 | binary_boolean_kernel(left, right, |a, b| a | b) |
| 275 | } |
| 276 | |
| 277 | /// Performs `AND_NOT` operation on two arrays. If either left or right value is null then the |
| 278 | /// result is also null. |