faastjs > CostSnapshot > total CostSnapshot.total() method Sum of cost metrics. Signature: total(): number; Copy Returns: number