You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to add a suggestion for a new object utility called hasOnly, which checks whether a specified object has only certain keys.
My ideal implementation is not ES5 compatible as it relies on Array.includes(). I've found some polyfills online but might need help from maintainers/anyone more ES5 familiar to ensure it works as expected still and covers all edge cases.
Have read the contribution guidelines and am willing to submit the necessary code, tests, and PR, but wanted to run it by maintainers before going through the work. Thanks!
Long time user of
just
, first time contributor!I wanted to add a suggestion for a new object utility called
hasOnly
, which checks whether a specified object has only certain keys.My ideal implementation is not ES5 compatible as it relies on Array.includes(). I've found some polyfills online but might need help from maintainers/anyone more ES5 familiar to ensure it works as expected still and covers all edge cases.
Have read the contribution guidelines and am willing to submit the necessary code, tests, and PR, but wanted to run it by maintainers before going through the work. Thanks!
The text was updated successfully, but these errors were encountered: