Vue 2 - vuex mapGetters and pass params : <p>Is it possible to pass params with <strong>mapGetters</strong>?</p>

<p>I have this in main Vue instance:</p>

<pre><code>computed: {
    filterAuthors() {
        return this.$store.getters.filterAuthors(this.search.toLowerCase());
    }
}
</code></pre>

<p><strong>this.search</strong> is bind to the input field via <strong>v-model="search=</strong>, and in my Vuex instance I have this getters:</p>

<pre><code>getters: {
    filterAuthors: (state) =&gt; (search) =&gt; {
        return state.authors.filter((author) =&gt; {
            return author.name.toLowerCase().indexOf(search) &gt;= 0;
        })
    }
},
</code></pre>

<p>This one is working fine, but I am trying to find a way (if it is possible) to use mapGetters and to pass the argument. Can this be done?</p>
