src/index.js
function getAll(paths) {
    if (paths === undefined) {
      return clone(state);
    }

    if (!paths instanceof Array) {
      throw new Error('[toystore] getAll() argument "paths" must be an array.');
    }

    let values = paths.map(get);

    return zipObject(paths, values);
  }
function getAll(paths) {
    if (paths === undefined) {
      return clone(state);
    }

    if (!paths instanceof Array) {
      throw new Error('[toystore] getAll() argument "paths" must be an array.');
    }

    let values = paths.map(get);

    return zipObject(paths, values);
  }
function getAll ( paths ) { if ( paths === undefined ) { return clone ( state ) ; } if ( ! paths instanceof Array ) { throw new Error ( '[toystore] getAll() argument "paths" must be an array.' ) ; } let values = paths . map ( get ) ; return zipObject ( paths , values ) ; }
Get multiple path values from store

@param {String[]} paths
@return {Object} key/value pair of path => value
Get multiple path values from store