We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How do I get a javascript Iterable into your library? Should be simple.
function* words() : Iterable<string> { yield "abc"; yield "def"; } let x = Linq.from(words()); // does not work
The text was updated successfully, but these errors were encountered:
You can convert it to an array, then use Linq
Linq.from(Array.from(words()))
It would be nice if this worked directly, I'll try to look and see if anything can be done.
Sorry, something went wrong.
This is now fixed, you can do Linq.from(words()) which is much better than converting to Array, since you can work with infinite iterables.
Linq.from(words())
540699b
No branches or pull requests
How do I get a javascript Iterable into your library? Should be simple.
The text was updated successfully, but these errors were encountered: