technically fieldcount is a generic function which could be overloaded for a specific type.
But if that happens a lot of other things will probably break,
so you are already in hell.
This code is fine basically.
1 Like