Problem with ternary operator


#1
a=("yes", "no")
isa(a,Tuple)? y,n=a : -1

results in error massage:

syntax: colon expected in “?” expression

any sugestions?


#2

isa(a,Tuple)? (y,n)=a : -1


#3

thanks