Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: indirect assignment to array



On Wed, Apr 15, 2020 at 5:06 PM Pier Paolo Grassi <pierpaolog@xxxxxxxxx> wrote:
>
> Is there a way to test if a variable is of type array?

var=module_path
print -r ${(tP)var} $var



Messages sorted by: Reverse Date, Date, Thread, Author