@hashgraph/solo
    Preparing search index...

    A range of versions which includes the beginning version and excludes the end version.

    Type Parameters

    • T extends SemVer | number
    Index

    Constructors

    Properties

    begin: Version<T>

    The beginning of the version range (inclusive).

    end: Version<T>

    The end of the version range (exclusive).

    Methods

    • Creates a version range from the given integer bounds.

      Parameters

      • begin: number

        the beginning of the version range (inclusive).

      • end: number

        the end of the version range (exclusive).

      Returns VersionRange<number>

      the version range.

      RangeError if the bounds are invalid.

    • Creates a version range from the given integer version.

      Parameters

      • version: number

        the specific version for which to create a range.

      Returns VersionRange<number>

      the version range.

      RangeError if the version is invalid.

    • Creates a version range from the given semantic version bounds.

      Parameters

      • begin: SemVer

        the beginning of the version range (inclusive).

      • end: SemVer

        the end of the version range (exclusive).

      Returns VersionRange<SemVer>

      the version range.

      RangeError if the bounds are invalid.