Use Lodash's find. _.find(users, { 'active': true });. For more complex conditions, use the following. _.find(users, function(o) { return ...
確定! 回上一頁