I am learning RxJS library, I am getting array of object from backend, I want to filter it using RxJS.
I tried this:
.pipe(
map(dataArray => from(dataArray).pipe(
map(dataObject => {
filter(dataObject.Code === 'ABC' || dataObject.Code === 'XYZ')
}
))
)
but it is not working, getting lots of syntax error