goldies
    Preparing search index...

    Function isDefined

    • Checks if a value is defined.

      Type Parameters

      • T

      Parameters

      • obj: T

        The value to check.

      Returns obj is T

      Whether or not the value is defined.

      if (isDefined(myVar)) {
      // myVar is defined
      }