src/InfoViz/Native/HistogramSelector/index.js
function getFieldRow(name) {
    if (model.nest === null) return 0;
    const foundRow = model.nest.reduce((prev, item, i) => {
      const val = item.value.filter((def) => def.name === name);
      if (val.length > 0) {
        return item.key;
      }
      return prev;
    }, 0);
    return foundRow;
  }
function getFieldRow(name) {
    if (model.nest === null) return 0;
    const foundRow = model.nest.reduce((prev, item, i) => {
      const val = item.value.filter((def) => def.name === name);
      if (val.length > 0) {
        return item.key;
      }
      return prev;
    }, 0);
    return foundRow;
  }
function getFieldRow ( name ) { if ( model . nest === null ) return 0 ; const foundRow = model . nest . reduce ( ( prev , item , i ) => { const val = item . value . filter ( ( def ) => def . name === name ) ; if ( val . length > 0 ) { return item . key ; } return prev ; } , 0 ) ; return foundRow ; }
which row of model.nest does this field name reside in?
which row of model . nest does this field name reside in?