Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 186 Bytes

index.md

File metadata and controls

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

useSum

Get the sum of a set of numbers.

Usage

import { useSum } from '@vueuse/math'

const nums = ref([1, 2, 3, 4])
const sum = useSum(nums)