code: function findMeta(meta, names) {
    if (!meta) return null;
  
    if (!_.isArray(names)) names = [ names ];
  
    let record;
  
    names.some((name) => {
      record = _.find(meta, (item) => item.name === name);
      return record;
    });
  
    return (record || {}).value;
  }
docs: Get meta value by list of names in priority order