toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-semver
/
semver
/
Range
Range
external
class
Range
(
source
)
Members
Constructors
Range
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
include
Prerelease
Link copied to clipboard
var
includePrerelease
:
Boolean
loose
Link copied to clipboard
var
loose
:
Boolean
options
Link copied to clipboard
var
options
:
Options
range
Link copied to clipboard
var
range
:
String
raw
Link copied to clipboard
var
raw
:
String
set
Link copied to clipboard
var
set
:
ReadonlyArray
<
ReadonlyArray
<
Comparator
>
>
Functions
format
Link copied to clipboard
fun
format
(
)
:
String
inspect
Link copied to clipboard
fun
inspect
(
)
:
String
intersects
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
parse
Range
Link copied to clipboard
fun
parseRange
(
range
:
String
)
:
ReadonlyArray
<
Comparator
>
test
Link copied to clipboard
fun
test
(
version
:
String
)
:
Boolean
fun
test
(
version
:
SemVer
)
:
Boolean