Skip to content

Commit

Permalink
Remove isLessThan(Int, Int)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelGarus committed Oct 31, 2024
1 parent 0dcdc23 commit 5cffe91
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages_v5/example.candy
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,6 @@ let valueWithoutExplicitType = 42
# }
# aDate.add(Duration(days: 1)) # is equivalent to `add(aDate, Duration(days: 1))`

fun isLessThan(a: Int, b: Int) Bool {
switch a.compareTo(b) {
less => true,
equal => false,
greater => false,
}
}

# fun twar() Int {
# foo
# bar
Expand Down

0 comments on commit 5cffe91

Please sign in to comment.