DolphaGo / TIL

TIL & issues
0 stars 1 forks source link

[Typescript] null, undefined, NaN 등 체크 #121

Open DolphaGo opened 2 years ago

DolphaGo commented 2 years ago

It is Simple.

if(value){

}

https://stackoverflow.com/questions/28975896/is-there-a-way-to-check-for-both-null-and-undefined