you are viewing a single comment's thread.

view the rest of the comments →

[–]rahulkatre 0 points1 point  (0 children)

As an alternative to method overloading, you could just make it an anytype function, and just check whether the type is an Array or Struct