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

feat(array): add intersperse utility #494

Merged
merged 1 commit into from
Dec 25, 2021
Merged

feat(array): add intersperse utility #494

merged 1 commit into from
Dec 25, 2021

Conversation

iamandrewluca
Copy link
Contributor

Creates a new list with the separator interposed between elements.

https://ramdajs.com/docs/#intersperse
lodash/lodash#2339
https://www.wordnik.com/words/intersperse

@phuocng phuocng merged commit 55f9695 into phuocng:master Dec 25, 2021
@phuocng
Copy link
Owner

phuocng commented Dec 25, 2021

Thanks you, @iamandrewluca and @elkarouani ❤️
The snippet is now available at https://1loc.dev/array/intersperse-element-between-elements/

@iamandrewluca iamandrewluca deleted the add-intersperse-utility branch December 26, 2021 23:45
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.

3 participants