StructuralEquatable Namespace

    Package: @esfx/equatable

    Utility functions and well-known symbols used to define a StructuralEquatable.

    Functions

    hasInstance(value)

    Determines whether a value is StructuralEquatable.

    Declaration
    function hasInstance(value: unknown): value is StructuralEquatable;
    Parameters
    value
    unknown

    The value to test.

    Returns
    value is StructuralEquatable

    true if the value is StructuralEquatable; otherwise, false.

    Variables

    name

    Declaration
    name = "StructuralEquatable"

    structuralEquals

    A well-known symbol used to define a structural equality test method on a value.

    Declaration
    structuralEquals: unique symbol

    structuralHash

    A well-known symbol used to define a structural hashing method on a value.

    Declaration
    structuralHash: unique symbol
    Generated by DocFX