Skip to content

Commit

Permalink
Correction to comment in function_types.bal
Browse files Browse the repository at this point in the history
  • Loading branch information
scubbo authored May 11, 2023
1 parent 9bf47d1 commit 2417680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/function-types/function_types.bal
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function main() {
io:println(evenFunc1(5));
io:println(evenFunc1(6));

// Type of the `evenFunc1` variable is the `function(int num = 5) returns boolean` function type.
// Type of the `evenFunc2` variable is the `function (int num = 5) returns boolean` function type.
function (int num = 5) returns boolean evenFunc2 = isEven;

// Invoke the function with the default value defined in the function type.
Expand Down

0 comments on commit 2417680

Please sign in to comment.