Skip to content

Conversation

wdhwg001
Copy link

Hi,

It's my first contribution to this repo, so please feel free to let me know if it doesn't follow any formatting / linting stuffs.

Basically it works like this:

type a = Call<T.IndexOf<2, [1, 2, 3]>> // 1
type b = Call<T.IndexOf<4, [1, 2, 3]>> // never

And it's particularly useful to be used with T.At.

@wdhwg001
Copy link
Author

wdhwg001 commented Sep 9, 2025

@gvergnaud Sorry to bother but would you like to leave a review?

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

Successfully merging this pull request may close these issues.

1 participant