bearophile Wrote:
I try again :-)
template IsArray(T) {
const bool IsArray = !is(T == class) && !is(T == struct) &&
is(typeof(T.length)) && is(typeof(T.sort))
&& is(typeof(T.reverse)) && is(typeof(T.dup));
}