API Reference
    Preparing search index...
    • Check if a value is null.

      Parameters

      • value: unknown

        The value to check

      Returns value is null

      import { isNull } from '@aws-lambda-powertools/commons/typeUtils';

      const value = null;
      if (isNull(value)) {
      // value is null
      }