Skip to main content
Module

x/tstl/functional/IComparable.ts>IComparable

TypeScript-STL (Standard Template Library, migrated from C++)
Go to Latest
interface IComparable
import { type IComparable } from "https://deno.land/x/tstl@v2.4.11/functional/IComparable.ts";

Interface for comparison.

Methods

equals(obj: T): boolean

Test whether equal to some object.

less(obj: T): boolean

Test whether less than some object.

hashCode(): number

Get hash code.