Swift Language Function as return type from another function


Example

// function as return type
print(math.performComplexOperation(valueOne: 4)(5))

Output:

9