Parameters
NameTypeDescription
recordsys.data.RecordThe record that the card is representing and that will be evaluated to see if it has to be highlighted.
Returns
boolean - You should return true if the record has to be highlighted, false otherwise.
Samples
 
//the task will be highlighted if it is urgent
return record.field('urgent').val() == true;