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