Add-On Documentation
  • Preparing search index...
  • The search index is not available
8Crafter's Server Utilities API
  • 8Crafter's Server Utilities API
  • Globals
  • modules
  • semver
  • inc

Function inc

  • inc(
        version: string | Globals.modules.semver.SemVer,
        release: ../../../../AppData/Roaming/.minecraft_bedrock/installations/Main Release/packageData/development_behavior_packs/DebugSticksAndScreens/node_modules/@types/semver.ReleaseType,
        optionsOrLoose?:
            | boolean
            | ../../../../AppData/Roaming/.minecraft_bedrock/installations/Main Release/packageData/development_behavior_packs/DebugSticksAndScreens/node_modules/@types/semver.Options,
        identifier?: string,
    ): string

    Return the version incremented by the release type (major, premajor, minor, preminor, patch, prepatch, or prerelease), or null if it's not valid.

    Parameters

    • version: string | Globals.modules.semver.SemVer
    • release: ../../../../AppData/Roaming/.minecraft_bedrock/installations/Main Release/packageData/development_behavior_packs/DebugSticksAndScreens/node_modules/@types/semver.ReleaseType
    • OptionaloptionsOrLoose:
          | boolean
          | ../../../../AppData/Roaming/.minecraft_bedrock/installations/Main Release/packageData/development_behavior_packs/DebugSticksAndScreens/node_modules/@types/semver.Options
    • Optionalidentifier: string

    Returns string

    • Defined in ../../../../AppData/Roaming/.minecraft_bedrock/installations/Main Release/packageData/development_behavior_packs/DebugSticksAndScreens/node_modules/@types/semver/functions/inc.d.ts:12
  • inc(
        version: string | Globals.modules.semver.SemVer,
        release: ../../../../AppData/Roaming/.minecraft_bedrock/installations/Main Release/packageData/development_behavior_packs/DebugSticksAndScreens/node_modules/@types/semver.ReleaseType,
        identifier?: string,
        identifierBase?: false | IdentifierBase,
    ): string

    Return the version incremented by the release type (major, premajor, minor, preminor, patch, prepatch, or prerelease), or null if it's not valid.

    Parameters

    • version: string | Globals.modules.semver.SemVer
    • release: ../../../../AppData/Roaming/.minecraft_bedrock/installations/Main Release/packageData/development_behavior_packs/DebugSticksAndScreens/node_modules/@types/semver.ReleaseType
    • Optionalidentifier: string
    • OptionalidentifierBase: false | IdentifierBase

    Returns string

    • Defined in ../../../../AppData/Roaming/.minecraft_bedrock/installations/Main Release/packageData/development_behavior_packs/DebugSticksAndScreens/node_modules/@types/semver/functions/inc.d.ts:18

Settings

Member Visibility
Add-On Documentation
8Crafter's Server Utilities API
  • Loading...

Generated using TypeDoc