Takes two nullable values along with a lambda function that operates on them and returns a nullable result.