Any tips for making my function more reliable

Is this what you mean?

1 Like