schema

dpsutton 2022-03-10T17:15:57.039279Z

given

(def Foo (s/conditional number? s/Num string? s/Str))
(s/validate Foo 3)
Is there some way that i can get which branch was satisfied for some value when validating against Foo? Ie, (s/<something> Foo 3) would return the information that it matched against s/Num