Replace isa('Array') with ~~ Array in p6 version