uuosio / ascdk

MIT License
12 stars 9 forks source link

Existing variant work #45

Closed jafri closed 2 years ago

jafri commented 2 years ago

Just for your reference @learnforpractice, there is a good existing variant library for AssemblyScript by the core maintainer: https://github.com/MaxGraey/as-variant

Might be useful if we want to strip our own internal variant version, or maybe you already know about it :)

learnforpractice commented 2 years ago

Sounds good, isReference<T> is more neat than idof<T>