Closed sobrinho closed 8 years ago
What do you think?
let collection = new Fluxo.CollectionStore([ {id: 1, responsible: false}, {id: 2, responsible: false}, {id: 3, responsible: true} ]); let responsible = collection.findWhere({responsible: true});
Essentially is the same as collection.where({responsible: true})[0] but with better API.
collection.where({responsible: true})[0]
Nevermind, we already have, just missing the documentation, I will fix it.
See ca9acb663d036594674788381633beb7ed14fe0c
What do you think?
Essentially is the same as
collection.where({responsible: true})[0]
but with better API.