* The member details section is now called "Members", rather than "Properties". * The property table now displays appropriate table headings: "Member", "Value", "Description". * The "Value" column is not shown if none of the members have a value. Closes #22678 PR Close #23872
9 lines
230 B
JavaScript
9 lines
230 B
JavaScript
module.exports = function hasValues() {
|
|
return {
|
|
name: 'hasValues',
|
|
process: function(list, property) {
|
|
if (!list || !Array.isArray(list)) return false;
|
|
return list.some(item => item[property]);
|
|
}
|
|
};
|
|
}; |