TypeScriptのnull判定
nullとundefinedを両方除外したいときは、hoge==nullで判定できる ref
undefinedは使わないようにする
https://typescript-jp.gitbook.io/deep-dive/recap/null-undefined#undefinedwowanaiyounisuru
★https://typescript-jp.gitbook.io/deep-dive/recap/null-undefined#validitynodeundefinedwoshinai
redux-formのvalidationのときかバンバン使ってるな....
!!でtruthy,falsyな値をbooleanに変換
配列の中身がnull
vの中身が[undefined]のときv===[undefined]はtrueにならない
vの中身が[null]のときv===[null]はtrueにならない
このときv[0]==[null]で両方いける