This means that the callback function passed to this.dataStore.data.findmust return a boolean and have 3 parameters, two of which may be optional:
- Meaning: Conversations
- index: number
- obj: Conversation []
( void). :
this.dataStore.data.find((element, index, obj) => {
// ...
return true; // or false
});
this.dataStore.data.find(element => {
return true;
});
, : , find, . , , find , .
, data, data, true, , find.