5.23.3. utils.add_maybe_none

eminus.utils.add_maybe_none(a, b)[source]

Add a and b together, when one or both can potentially be None.

Parameters:
  • a – Array or None.

  • b – Array or None.

Returns:

Sum of a and b.