-
Notifications
You must be signed in to change notification settings - Fork 226
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
can't easily convert to javascript Map #52
Comments
They seem to be having the same source code in It's a bit tricky. |
Suppose you have an array of numbers and want to group them by even or odd and then put them in a JavaScript Map<boolean, number[]>. I can't figure out how to do this. Want someghing like this...
|
You can get an array:
|
Maybe I'm missing something here, but when you have an enumerable you can to
toDictionary
but you can't dotoMap
to create a regular javascript map. Very confused. I think ENikS/LINQ allows you to do that quite simply.The text was updated successfully, but these errors were encountered: