I have a filter method:
_filterItems(items) {
return items.filter(async item => {
let isTrue = await AsyncStorage.getItem('key');
return isTrue;
})
}
Call the method this._filterItems(myItemsAsArray) always return undefined.
How can I make it works as expected?