I am getting object like this from the Server,
var data = {
test1: {
documents: []
},
test2: {
documents: [{
vId: 'sdfas23',
TypeId: '81',
isDeleted: false
}],
answer: true
},
test3: {
documents: [{
vId: 'H1mJinyI',
TypeId: '82',
isDeleted: false
}],
answer: true
}
}
i want to filter the typeId from the object, The Result i am Expecting is
[81,82]
can anybody help on this.
map(). Read the cocs here: lodash.com/docs#map