Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 216 Bytes

index.md

File metadata and controls

16 lines (11 loc) · 216 Bytes
category
@Math

useAverage

Get the average value of an array of numbers

Usage

import { useAverage } from '@vueuse/math'

const list = ref([1, 2, 3])
const averageValue = useAverage(list)