// @flow import mapValues from "lodash/mapValues"; export const getInternals = (state: State): Map => mapValues(state, (x) => x.internal || x.actual); export const getActuals = (state: State): Map => mapValues(state, (x) => x.actual);