Comparator
No summary available
import { Comparator } from "@schukai/monster/source/util/comparator.mjs";Simple Example
/** this example does not use an extra script **/Exported
ComparatorDerived from
BaseOptions
The Options listed in this section are defined directly within the class. This class is derived from several parent classes. Therefore, it inherits Options from these parent classes. If you cannot find a specific Options in this list, we recommend consulting the documentation of the Base.
Properties
The Properties listed in this section are defined directly within the class. This class is derived from several parent classes. Therefore, it inherits Properties from these parent classes. If you cannot find a specific Properties in this list, we recommend consulting the documentation of the Base.
Methods
The methods listed in this section are defined directly within the class. This class is derived from several parent classes. Therefore, it inherits methods from these parent classes. If you cannot find a specific method in this list, we recommend consulting the documentation of the Base.
Constructor
constructor([callback])[callback]{monster.util~examplecallback}: Comparator callback
Other methods
equal(a,b)a{*}: ab{*}: b
- {boolean}
greaterThan(a,b)a{*}: ab{*}: b
- {boolean}
a is greater than bgreaterThanOrEqual(a,b)a{*}: ab{*}: b
- {boolean}
a is greater than or equal to blessThan(a,b)a{*}: ab{*}: b
- {boolean}
lessThanOrEqual(a,b)a{*}: ab{*}: b
- {boolean}
a is less than or equal to breverse()- {Comparator}
Events
This component does not fire any public events. It may fire events that are inherited from its parent classes.