Equatable Interface

    Package: @esfx/equatable

    Represents a value that can compare its equality with another value.

    Declaration
    export interface Equatable 

    Methods

    [Equatable.equals](other)

    Determines whether this value is equal to another value.

    Declaration
    [Equatable.equals](other: unknown): boolean;
    Parameters
    other
    unknown

    The other value.

    Returns
    boolean

    true if this value is equal to other; otherwise, false.

    [Equatable.hash]()

    Compute a hash code for an value.

    Declaration
    [Equatable.hash](): number;
    Returns
    number

    The numeric hash-code for the value.

    Generated by DocFX