Function neq

v1 != v2 The opposite of eq.

neq('1.2.3', '2.0.2') // true

build identifier ([+BUILD]) is not taken into account

  • Parameters

    • v1: string

      first version string

    • v2: string

      second version string

    • OptionaloptionsOrLoose: boolean | Options

    Returns boolean

    true if v1 != v2, false if v1 == v2