Type Alias IComparable<TValue>

Complete comparable type combining all comparison operations. Implementers support full ordering: equality, greater-than, and less-than.

Types implementing this contract can be:

  • Sorted (requires all five comparison methods)
  • Used in binary search algorithms
  • Validated for consistent ordering (transitive relations)

Type Parameters

  • TValue

    Type of value being compared to

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