Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
devjam
· 2y ago · 0 comments
Don't forget the companion isEven function:
func isEven(n int64) bool { return !isOdd(n) }
Comments
[–]
pjerem
2y ago
Wow you can call a function from a function ? It’ll revolutionize my productivity.