Range

external class Range(source)

Constructors

Link copied to clipboard
constructor(range: String)
constructor(range: String, optionsOrLoose: Boolean = definedExternally)
constructor(range: String, optionsOrLoose: RangeOptions = definedExternally)
constructor(range: Range)
constructor(range: Range, optionsOrLoose: Boolean = definedExternally)
constructor(range: Range, optionsOrLoose: RangeOptions = definedExternally)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var raw: String
Link copied to clipboard

Functions

Link copied to clipboard
fun format(): String
Link copied to clipboard
Link copied to clipboard
fun intersects(range: Range): Boolean
fun intersects(range: Range, optionsOrLoose: Boolean = definedExternally): Boolean
fun intersects(range: Range, optionsOrLoose: Options = definedExternally): Boolean
Link copied to clipboard
Link copied to clipboard
fun test(version: String): Boolean
fun test(version: SemVer): Boolean