You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
510 B
15 lines
510 B
export interface IEqualsComparer<T> {
|
|
(a: T, b: T): boolean;
|
|
}
|
|
declare function identityComparer(a: any, b: any): boolean;
|
|
declare function structuralComparer(a: any, b: any): boolean;
|
|
declare function shallowComparer(a: any, b: any): boolean;
|
|
declare function defaultComparer(a: any, b: any): boolean;
|
|
export declare const comparer: {
|
|
identity: typeof identityComparer;
|
|
structural: typeof structuralComparer;
|
|
default: typeof defaultComparer;
|
|
shallow: typeof shallowComparer;
|
|
};
|
|
export {};
|