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