logankilpatrick
logankilpatrick

Reputation: 14551

What is a way to get the object Array from the object Vector in Julia?

There is maintype(t) = getfield(parentmodule(t), nameof(t)), but it's rather indirect...

Does anyone know a better way?

original post

Upvotes: 1

Views: 59

Answers (1)

logankilpatrick
logankilpatrick

Reputation: 14551

The solution is to use Base.typename(t).wrapper given t is the same t you referenced in your question!

original post

Upvotes: 1

Related Questions