🌈 搜索
📅  最后修改于: 2022-03-11 14:48:43.681000             🧑  作者: Mango
var myObject = something as String; if (myObject != null) { // successfully cast } else { // cast failed }