Function eq

  • Computes structural equality between two JavaScript objects. Handles only primitive types and JSON-style objects (i.e. object whose constructor is Object).

    To handle any other kind of objects, you need to make sure it inherits from StructEqualityComparable and implement getFields() for that object correctly.

    Parameters

    • a: any
    • b: any
    • Optional visited: Map<any, any>

    Returns boolean

Generated using TypeDoc