instanceof


(引数1 instanceof 引数2)

instanceof演算子を使用することで、型をチェックすることができる。
引数1の型が引数2の型と一致するとtrue、一致しなければfalseを返す。