Home Reference Source

src/getIndicators.js

  1. import { getAssessments } from "./getAssessments";
  2. import { isIndicator } from "./assessments/isIndicator";
  3.  
  4. /**
  5. * Get all indicators from the store.
  6. * @return {Array} return an array of indicators
  7. */
  8. export const getIndicators = () => getAssessments().filter(isIndicator);