faastjs.costsnapshot.find.md
April 5, 2024 ยท View on GitHub
faastjs > CostSnapshot > find
CostSnapshot.find() method
Find a specific cost metric by name.
Signature:
find(name: string): CostMetric | undefined;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
string |
CostMetric | undefined
a CostMetric if found, otherwise undefined.