I just want to know the name of the ref type:
echo x #error: expression: `$`(x)
echo x[] #(....)
echo typeof(x) #ref Bar:ObjectType
echo typeof(x[]) #Bar:ObjectType
echo ($typeof(x[])).split(":")[0] #Bar
RunI guess I am looking for some thing like typeof(x[]).plainName ?
