• DWin
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Yup, never nest.

    All the conditions should be checked and returned if they failed as you go through the function with the successful response being the last line.