News for hackers. Stuff that matters.
Re:Apple Developer Documentation Is Missing by jamil7 on Monday October 28, 2019 @11:55AM (#21378057)
Do you mean Swift? I didn't think Typescript had something like this yet.
Re:Apple Developer Documentation Is Missing by h0h0h0h0111 on Monday October 28, 2019 @12:07PM (#21378189)
Not sure about OP, but this is coming in Typescript 3.7 I believe. Currently you can use `||`, but as mentioned above it will also catch false, 0, "", etc
Re:Apple Developer Documentation Is Missing by AgloeDreams on Monday October 28, 2019 @02:17PM (#21379876)
Bingo. TS 3.7