Yes, you can easily do that in Nim with object variants, see <https://nim-lang.org/docs/tut2.html#object-oriented-programming-object-variants>
- Is there any typescript-like library for a Nim programming lan... georgeethan
- Is there any typescript-like library for a Nim programmin... SolitudeSF
- Is there any typescript-like library for a Nim progra... Yardanico
- Is there any typescript-like library for a Nim pr... georgeethan
- Is there any typescript-like library for a Ni... Yardanico
