UNPKG

higlass

Version:

HiGlass Hi-C / genomic / large data viewer

14 lines (11 loc) 402 B
// @ts-nocheck import map from './map'; /** * Convert an object into array which entries are the prop values of the object * * @param {Object} obj - Object to be arrayified * @return {Array} Array of the object. */ const objVals = (obj) => map((key) => obj[key])(Object.keys(obj)); // TODO(Trevor): We already have dictValues and `Object.values`? Can we get rid of this? export default objVals;