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

Add entry for _.identity #391

Open
olof-nord opened this issue Jan 22, 2024 · 1 comment
Open

Add entry for _.identity #391

olof-nord opened this issue Jan 22, 2024 · 1 comment

Comments

@olof-nord
Copy link

This util doesnt seem to do all that much.

I am curious what some ideas are for the best way of replacing it.

https://lodash.com/docs/4.17.15#identity

@binury
Copy link

binury commented Jan 25, 2024

const identity = x => x;

¯\_(ツ)_/¯

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

No branches or pull requests

2 participants