artdaq_node_server  v1_00_07
 All Classes Namespaces Files Variables Pages
/scratch/workspace/artdaq-demo-v2_09_03/SLF7/s46-e14-prof/build/artdaq_node_server/v1_00_07/src/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash/findLastIndex.js

var users = [ { 'user': 'barney', 'active': true }, { 'user': 'fred', 'active': false }, { 'user': 'pebbles', 'active': false } ];

_.findLastIndex(users, function(o) { return o.user == 'pebbles'; }); // => 2

// The _.matches iteratee shorthand. _.findLastIndex(users, { 'user': 'barney', 'active': true }); // => 0

// The _.matchesProperty iteratee shorthand. _.findLastIndex(users, ['active', false]); // => 2

// The _.property iteratee shorthand. _.findLastIndex(users, 'active'); // => 0