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

ParameterTypeDescription
namestring

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 © 2023 Andy Chou