If you only need the type dynamically then it woul...
# puppet
h
If you only need the type dynamically then it would work to write a function.
function oneOrMore(Type $t) {Variant[$t, Array[$t,1]]}