Type Alias IEquals<TValue>

IEquals: { equals(value: TValue): boolean }

Equality comparison contract. Implementers support checking if two values are equal in meaning/value.

Different from JavaScript === operator:

  • Can define custom equality logic (e.g., deep object equality)
  • Value objects can be equal even when not the same reference
  • Useful for domain-specific comparisons

Type Parameters

  • TValue

    Type of value being compared to

    IMPORT_PATH: "@daiso-tech/core/utilities"

Type declaration

  • equals:function