whenNotNull<T> function

bool whenNotNull<T>(
  1. T a,
  2. T b
)

Implementation

bool whenNotNull<T>(T a, T b) => a == null && b != null;