suretype icon indicating copy to clipboard operation
suretype copied to clipboard

Any plans to implement a "function" type?

Open finalclass opened this issue 2 years ago • 0 comments

What I'm looking for is a validator that would ensure that I have a function of acertain return type and arguments.

In zod there is something like this:

z.function().args([z.string(), z.number()]).ruturns(z.string())

do you plan adding something similar?

finalclass avatar Jan 16 '23 19:01 finalclass