(profile, raw)
| 4953 | } |
| 4954 | |
| 4955 | function profileMustReadValues(profile, raw) { |
| 4956 | const mustRead = raw?.must_read || profile?.must_read || {}; |
| 4957 | return { |
| 4958 | authors: splitListValue(mustRead.authors || []), |
| 4959 | institutions: splitListValue(mustRead.institutions || []), |
| 4960 | keywords: splitListValue(mustRead.keywords || []) |
| 4961 | }; |
| 4962 | } |
| 4963 | |
| 4964 | function listText(items, limit = 8) { |
| 4965 | const values = splitListValue(items).slice(0, limit); |
no test coverage detected