Returns true if a metric or KPI FactList contains no entries. If there are any Facts in the list  even if they contain null or NaN values this function will return false. This is a useful function when developing new KPI formula as it can be used for simple debug logging.  

if (metrics.get('critical issues').isEmpty()){
   console.log('No critical issues for date: %s', now);
}

   

Did this answer your question?