📜  颤振检查对象的类型 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:08.245000             🧑  作者: Mango

代码示例1
print(myvar is Person);

Type type = myvar.runtimeType;
print(myvar == Person));