faast.js

faast.js

  • Docs
  • API
  • Community
  • GitHub
  • Blog

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

**Returns:**

CostMetric | undefined

a CostMetric if found, otherwise undefined.

  • CostSnapshot.find() method
  • Parameters
faast.js
Docs
IntroductionAPI ReferenceContributingExamples
Community
DiscordTwitterStack Overflowfaast.js
More
BlogUser Showcase
Copyright © 2025 Andy Chou