Documentation
    Preparing search index...

    Provides basic methods to compare the equality of two objects.

    While it is theoretically possible to let a Function implement this interface, this can interfere with the overload resolution logic and thus not recommended.

    interface EqualityComparer<T = any> {
        equals(x: T, y: T): boolean;
        isSupported(value: unknown): value is T;
    }

    Type Parameters

    • T = any

    Hierarchy (View Summary)

    Implemented by

    Index

    Methods