3 ms·
Do you mean Swift? I didn't think Typescript had something like this yet.
by jamil7 7y ago
Do you mean Swift? I didn't think Typescript had something like this yet.
- h0h0h0h0111 7y agoNot 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
- AgloeDreams 7y agoBingo. TS 3.7