koconut
Version:
Provide interchainable array, set, map and etc supporting both normal and async callbacks as their action arguments.
13 lines (12 loc) • 467 B
TypeScript
import { KoconutBoolean } from '../../module';
/**
* Classes which inherit from this protocol is able to check equality with other instances of them.
*/
export interface KoconutEquatable {
/**
* Check whether this instance equals to target object
* Result can be either simple boolean or {@link KoconutPrimitive} instance wrapping boolean value.
* @param other Target instance to check equality.
*/
equalsTo(other: any): boolean | KoconutBoolean;
}