Fork me on GitHub
#schema
<
2021-04-11
>
Sriram Ravichandran14:04:23

Hey folks! I'm using the Schema library and am trying to have two different types in a list. Basically something like the elements in the array can either be a string or an int with no particular order. (`[1 "hello" 2 3 "four"]`) I've tried s/one, s/optional . They seem to support multiple types but they are not dynamic. I want something like an OR for the type. Any help would be much appreciated!