Logo

Programming-Idioms

History of Idiom 94 > diff from v41 to v42

Edit summary for version 42 by xx:
[Dart] aaa

Version 41

2019-11-01, 08:06:25

Version 42

2020-01-05, 09:57:29

Idiom #94 Print type of variable

Print the name of the type of x. Explain if it is a static type or dynamic type.

This may not make sense in all languages.

Idiom #94 Print type of variable

Print the name of the type of x. Explain if it is a static type or dynamic type.

This may not make sense in all languages.

Code
print(x.runtimeType);
Code
int b = 3