ixfx
    Preparing search index...

    Type Alias MapMultiOpts<V>

    MapMultiOpts: { groupBy?: (value: V) => string }

    Type Parameters

    • V

    Type declaration

    • Optional ReadonlygroupBy?: (value: V) => string

      Returns a group for values added via addValue. Eg. maybe you want to group values in the shape {name: 'Samantha' city: 'Copenhagen'} by city:

      const opts = {
      groupBy: (v) => v.city
      }