Functions

A Procedure that takes in same data and returns some data.

function add(x: int, y: int) -> int {
    return x + y;
}

# Call the function.
var res = add(10, 5);
print(res); # 15