interface Semilattice<T> {
    leq(a: T, b: T): boolean;
}

Type Parameters

  • T

Hierarchy (view full)

Methods

Methods

  • Determines if one element in the semilattice is less than or equal to another element.

    Parameters

    • a: T

      The element to compare.

    • b: T

      The element to compare against.

    Returns boolean

    true if a is less than or equal to b, otherwise false.