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