Wrapper class for the JavaScript string
primitive type.
Type Details
- yfiles module
- lang
- yfiles-umd modules
- All modules
- Legacy UMD name
- yfiles.lang.String
Methods
Compares this string with another one.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- obj - Object
- The other string to compare with.
Returns
- ↪number
0
if both strings are equal,-1
if this string comes before the other one in lexicographic sort order,1
otherwise.