retiolus@lemmy.cat to Programmer Humor@lemmy.ml · 7 months agoWorst is UTC vs GMTi.ibb.coimagemessage-square197fedilinkarrow-up1954arrow-down150
arrow-up1904arrow-down1imageWorst is UTC vs GMTi.ibb.coretiolus@lemmy.cat to Programmer Humor@lemmy.ml · 7 months agomessage-square197fedilink
minus-squareRikudou_SageAlinkfedilinkarrow-up1·7 months agoOr just implement null as a separate type, as php does. Then you have to accept string | null (or its shorthand, ?string) if you want nulls.
Or just implement null as a separate type, as php does. Then you have to accept
string | null
(or its shorthand,?string
) if you want nulls.