Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
SemVerModule
Range
Class Range
Hierarchy
SemVerBase
Range
Index
Constructor methods
constructor
Properties
loose
raw
set
Methods
format
inspect
parseRange
test
toString
Constructor methods
constructor
(
range
:
string
, loose
?:
boolean
)
:
Range
Parameters
range:
string
loose?:
boolean
optional
Returns
Range
Properties
public
loose
:
boolean
public
raw
:
string
public
set
:
Array<SemVerModule.Comparator[]>
Methods
public
format
(
)
:
string
Returns
string
public
inspect
(
)
:
string
Returns
string
public
parseRange
(
range
:
string
)
:
Comparator
[]
Parameters
range:
string
Returns
Comparator
[]
public
test
(
version
:
SemVer
)
:
boolean
Parameters
version:
SemVer
Returns
boolean
public
toString
(
)
:
string
Returns
string
Globals
SemVerModule
semver
Comparator
Range
constructor
loose
raw
set
format
inspect
parseRange
test
toString
SemVer
SemVerBase
cmp
compare
eq
gt
gte
gtr
inc
lt
lte
ltr
maxSatisfying
neq
outside
rcompare
satisfies
valid
validRange