Interface IHash<T>

Interface for hashable types.

interface IHash<T> {
    hash(): T;
}

Type Parameters

  • T

Methods

Methods

  • Returns a value's hash code. The contract of this function is: If IEquiv.equiv returns true for two values, their hash codes MUST also be equal.

    Returns T

Generated using TypeDoc