📜  颤振数据类型检查 - Dart 代码示例

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

代码示例1
void main(){
  var a = 'Apple';
  var b = 100;
  var c = [1, 2, 3, 4, 5];
  var d = {
    "name": "John Doe",
    "age" : 40
  };
  var e = 1.14;
  
  print(a.runtimeType);
  print(b.runtimeType);
  print(c.runtimeType);
  print(d.runtimeType); 
  print(e.runtimeType);
}