Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

base64encode

  • base64encode(str: string): string

encodeGetParams

  • encodeGetParams(data: any): string

getStringId

  • getStringId(id: string | object): string
  • Parameters

    • id: string | object

    Returns string

matchesVersion

  • matchesVersion(testVersion: string, minimumVersion: string): boolean
  • Compares version strings. Intended to be used only for comparing versions consisting of major, minor and (optional) patch version (dot-separated) and optional -SNAPSHOT suffix. Does not conform to Semantic Versioning Specification and will produce incorrect results in some cases not covered above (e.g. it doesn't take into account any text including pre-release identifiers, so 7.2.0-beta will be considered equal to 7.2.0).

    Parameters

    • testVersion: string
    • minimumVersion: string

    Returns boolean

    true if testVersion is greater or equal than minimumVersion

Generated using TypeDoc