You are reading the documentation for Vue Storefront v2. See the latest docs.

Home > @vue-storefront/core > ProductGetters > getAverageRating

ProductGetters.getAverageRating property

Signature:

getAverageRating: (product: PRODUCT) => number;