Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use type predicates on functions like startsWith #246

Open
DetachHead opened this issue Jun 2, 2023 · 0 comments
Open

use type predicates on functions like startsWith #246

DetachHead opened this issue Jun 2, 2023 · 0 comments

Comments

@DetachHead
Copy link
Owner

currently it just returns either the type true or false if it knows the contents of the string at compiletime, but thats such an edge case and it would be much more useful if it returned a type predicate like str is `${T}${string}`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant