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 "isWeakRef" function. #5788

Open
WOLFRIEND opened this issue Dec 13, 2023 · 0 comments
Open

Add "isWeakRef" function. #5788

WOLFRIEND opened this issue Dec 13, 2023 · 0 comments

Comments

@WOLFRIEND
Copy link

Since WeakRef is available from ECMAScript 2021, I think the method to check if a value is classified as a WeakRef object should be added here.
Lodash already contains similar methods for isWeakSet and isWeakMap.

I've already created the pull request that adds this functionality: #5787.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant