https://github.com/IAmAnubhavSaini/find-this-value
Find a value in a given object with programmable matching logic - node module
https://github.com/IAmAnubhavSaini/find-this-value
Last synced: about 1 month ago
JSON representation
Find a value in a given object with programmable matching logic - node module
- Host: GitHub
- URL: https://github.com/IAmAnubhavSaini/find-this-value
- Owner: gitfaf
- License: mit
- Created: 2018-01-19T19:53:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-23T07:08:24.000Z (over 7 years ago)
- Last Synced: 2024-04-24T15:43:09.951Z (about 1 year ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# find-this-value
Find a value in a given object with programmable matching logic - node module
## Usage
```javascript
const ftv = require('find-this-value')
ftv({a: 'b'}, 'b', (a, b) => a === b) // true
ftv({a: 'b'}, 'a', (a, b) => a === b) // false```
## License
MIT © 2018 Git Faf