Function

Module: @ember/object
import { sum } from '@ember/object/computed';
dependentKey
String
returns
ComputedProperty
computes the sum of all values in the dependentKey's array

A computed property that returns the sum of the values in the dependent array.