functions that take in types
I have certain patterns i would like to make simpler like default arrrays or unique checks but I can't seem to figure out how to type them
this is an example I would like to streamline
I was able to write wrapper functions but only if i restrict them to being
string[]
is there a better way I can do this that is more generic
I did try this from another post, but it seems to stomp on the type and did not work for narrow
1 Reply
I haven't published this yet but I'm worked on a docs section that broadly addresses this


