minus-squareMicromot@feddit.orgto196@lemmy.blahaj.zone•RulelinkfedilinkEnglisharrow-up1·22 days agoThat would already cause an exception when calling the function because it has int number in the parameters linkfedilink
minus-squareMicromot@feddit.orgto196@lemmy.blahaj.zone•RulelinkfedilinkEnglisharrow-up2·22 days agook linkfedilink
minus-squareMicromot@feddit.orgto196@lemmy.blahaj.zone•RulelinkfedilinkEnglisharrow-up1·22 days agoYeah, that’s even simpler linkfedilink
minus-squareMicromot@feddit.orgto196@lemmy.blahaj.zone•RulelinkfedilinkEnglisharrow-up8arrow-down1·edit-222 days agoCan’t you just If (number % 2 == 0){return true} linkfedilink
minus-squareMicromot@feddit.orgto196@lemmy.blahaj.zone•RulelinkfedilinkEnglisharrow-up9arrow-down1·25 days agoThere have also been similar cases around him and his discord server linkfedilink
That would already cause an exception when calling the function because it has int number in the parameters