Returns true if there are no metrics or KPIs in the argument, otherwise false. This can be a useful debug function rather than function for calculating KPI values.

if (metrics.isEmpty()) {
   console.log('No metrics available for the date: %s', now)
}
Did this answer your question?