chuck
chuck copied to clipboard
Type.isArray does not work with arrays
[1] @=> int a[];
<<< Type.of(a).name() >>>;
<<< Type.of(a).isArray() >>>;
outputs
"@array" :(string)
0 :(int)
doh
[1] @=> int a[];
<<< Type.of(a).name() >>>;
<<< Type.of(a).isArray() >>>;
outputs
"@array" :(string)
0 :(int)
doh