Should I use guard clauses in private functions?

Generally speaking, yes.

Just keep in mind that if that function just wraps a case expression you could just turn it into a multi clause function.

1 Like