Getting the yType of any YObject

Hey @Mansehej

I think you already found a solution. Types are just a view on the shared data. You need to define beforehand how you want to interpret the top-level types (e.g. define “name” as Y.Text: getType(“name”, Y.Text)).

Is there any consistent/proper method to get the YTypes for all the shared types in my doc?

Not really. You are supposed to know beforehand which types exists.