Equatable Namespace
Package: @esfx/equatable
Utility functions and well-known symbols used to define an Equatable
.
Functions
hasInstance(value)
Determines whether a value is Equatable.
Declaration
function hasInstance(value: unknown): value is Equatable;
Parameters
- value
- unknown
The value to test.
Returns
value is Equatable
true
if the value is an Equatable; otherwise, false
.
Variables
equals
A well-known symbol used to define an equality test method on a value.
Declaration
equals: unique symbol
hash
A well-known symbol used to define a hashing method on a value.
Declaration
hash: unique symbol
name
Declaration
name = "Equatable"