how to make filter using vuex code example Example: filter array in vuex this.users.filter((user) => user.type.startsWith("A"));