summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/polyfills/objectValues.mjs
blob: afbde06407e11248e2cf262f863d3025b53aa850 (plain)
1
2
3
4
5
6
7
8
9
/* eslint-disable no-redeclare */
// $FlowFixMe[name-already-bound] workaround for: https://github.com/facebook/flow/issues/4441
var objectValues = Object.values || function (obj) {
  return Object.keys(obj).map(function (key) {
    return obj[key];
  });
};

export default objectValues;