Wrapper class for the JavaScript boolean
primitive type.
Type Details
- yfiles module
- lang
- yfiles-umd modules
- All modules
- Legacy UMD name
- yfiles.lang.Boolean
Methods
Compares this boolean 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 boolean to compare with.
Returns
- ↪number
0
if both booleans are equal,-1
if this boolean isfalse
and the other istrue
,1
otherwise.