take a look at static if and is http://www.digitalmars.com/d/1.0/version.html#staticif http://www.digitalmars.com/d/1.0/expression.html#IsExpression
Thanks for this links. But I don't see anything about how to test if it's an array or not... Is it not possible ?