• InFerNo@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    12 hours ago

    Make the input variables nullable, then add checks if the values are null, then assign default values if they are, otherwise continue with the passed values.