Back

Ramda study

Copy Below Code View As A Text File Show Text Only Show API Edit Code
                            

const isEvaluationValid = pick( ["evaluations"], pathOr(nodeData || {}, ["messages", 0], nodeData) ) structre: data:{ messages:{ 0:{ ..// evaluations:{} } 1:{} ..// } } so this code will check for first entery of messages, and from messages, it will get evaluations.