grantila / grantila/suretype

Any plans to implement a "function" type?

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
505
Forks
8
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.