Funog: > Thanks ^^ But I actually asked my question wrong ; I also need to check > whether abc is an associative array or not. Adapted from the module tango.core.Traits: template IsAA(T) { const bool IsAA = is( typeof(T.init.values[0])[typeof(T.init.keys[0])] == T ); } Bye, bearophile