Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AlloySet

Hierarchy

Index

Constructors

Methods

Constructors

constructor

Methods

empty

  • empty(): boolean
  • Returns true if the set is empty, false if it is not.

    Returns boolean

equals

  • Returns true if this set is equivalent to the provided set, false otherwise.

    Parameters

    Returns boolean

in

  • Returns true if this set is a subset of the provided set, false otherwise.

    Parameters

    Returns boolean

join

  • Perform a join operation with another set. This operation is equivalent to the dot join operator in Alloy, in which this set is on the left side of the dot and that set is on the right side.

    Parameters

    Returns AlloySet

toString

  • toString(): string
  • Create a printable string representation of this set.

    Returns string

tuples