Implement funk.If (short if) enhancement
leowilbur opened this issue · comments
leowilbur commented
funk.If(condition, true, false)
Flo commented
hi @leowilbur, could you add an example for someone which wants to take the issue?
Thank you.
Steve Fan commented
@thoas There's no need for that. The long time missing of ternary expression is a big problem in Golang already
Reetuparna Mukherjee commented
Would like to work on this, if it's not already taken @thoas @stevefan1999-personal @leowilbur
Flo commented
@reetuparna you can take it! Not a big fan of ternary expression (for visibility reason) :)