@pulumi/pulumi
    Preparing search index...

    Function requirePulumiVersion

    • Checks if the engine we are connected to is compatible with the passed in version range. If the version is not compatible with the specified range, an exception is raised.

      Parameters

      • range: string

        The range to check. The supported syntax for the range is that of https://pkg.go.dev/github.com/blang/semver#ParseRange. For example ">=3.0.0", or "!3.1.2". Ranges can be AND-ed together by concatenating with spaces ">=3.5.0 !3.7.7", meaning greater-or-equal to 3.5.0 and not exactly 3.7.7. Ranges can be OR-ed with the || operator: "<3.4.0 || >3.8.0", meaning less-than 3.4.0 or greater-than 3.8.0.

      Returns Promise<void>