Comparator

external class Comparator(source)

Constructors

Link copied to clipboard
constructor(comp: String)
constructor(comp: String, optionsOrLoose: Boolean = definedExternally)
constructor(comp: String, optionsOrLoose: Options = definedExternally)
constructor(comp: Comparator)
constructor(comp: Comparator, optionsOrLoose: Boolean = definedExternally)
constructor(comp: Comparator, optionsOrLoose: Options = definedExternally)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun intersects(comp: Comparator, optionsOrLoose: Boolean = definedExternally): Boolean
fun intersects(comp: Comparator, optionsOrLoose: Options = definedExternally): Boolean
Link copied to clipboard
fun parse(comp: String)
Link copied to clipboard
fun test(version: String): Boolean
fun test(version: SemVer): Boolean