artdaq_node_server
v1_00_09
|
var objects = [{ 'x': 4 }, { 'x': 5 }];
_.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; }); // => 1
// The _.property
iteratee shorthand. _.sortedLastIndexBy(objects, { 'x': 4 }, 'x'); // => 1