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