/find-this-value

Find a value in a given object with programmable matching logic - node module

Primary LanguageJavaScriptMIT LicenseMIT

find-this-value

Find a value in a given object with programmable matching logic - node module

Usage

  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