API Reference
    Preparing search index...
    • Check if the current invocation is running in a development environment.

      This is determined by the POWERTOOLS_DEV environment variable.

      Returns boolean

      import { isDevMode } from '@aws-lambda-powertools/commons/utils/env';

      const isDev = isDevMode();