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

has-own-deep instead of has-value #2

Closed
tunnckoCore opened this issue Jul 25, 2015 · 3 comments
Closed

has-own-deep instead of has-value #2

tunnckoCore opened this issue Jul 25, 2015 · 3 comments

Comments

@tunnckoCore
Copy link
Contributor

Because .has won't return true when dot notation is used if key value is null or undefined value on the data store and that values are possible case for stores/DBs/etc.

@jonschlinkert
Copy link
Owner

that would be another method then, since has returns true if a value is truthy, hasOwn would return true if a key exists. want to do a pr to add hasOwn?

@tunnckoCore
Copy link
Contributor Author

okey, i'll

@tunnckoCore
Copy link
Contributor Author

closing, as per #3

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