Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rhpo authored Jan 27, 2024
1 parent 795e063 commit 0c07477
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,8 @@ read("Luna Docs") # Reading Luna Docs...
```rust

fn sum x=(1) y=(1) {
if x && y {
return x + y
}
if isdef x && isdef y: x + y
else null
}

print(sum(2, 4)) # 6
Expand Down

0 comments on commit 0c07477

Please sign in to comment.