-
Notifications
You must be signed in to change notification settings - Fork 323
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
Support for flatten
#137
Comments
ssi02014
added a commit
to ssi02014/es-toolkit
that referenced
this issue
Jul 9, 2024
ssi02014
added a commit
to ssi02014/es-toolkit
that referenced
this issue
Jul 9, 2024
ssi02014
added a commit
to ssi02014/es-toolkit
that referenced
this issue
Jul 9, 2024
raon0211
added a commit
that referenced
this issue
Jul 10, 2024
* feat(flatten): add faltten (#137) * fix: fix lint * fix: fix test code description * test(flatten): add test case * Update docs/ko/reference/array/flatten.md * Update docs/ko/reference/array/flatten.md * Update docs/ko/reference/array/flatten.md * Update docs/reference/array/flatten.md --------- Co-authored-by: Sojin Park <raon0211@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
deepFlatThenMap
#122Work with
flatten
as discussed in the issue above.Implement the same function as
lodash's flattenDepth
under the nameflatten(arr, depth)
.It should allow the same type inference as
Array.prototype.flat
.flatten
should perform better thanArray.prototype.flat
andlodash's flattenDepth
.The text was updated successfully, but these errors were encountered: