Class Gifts

Constructors

Properties

Methods

Constructors

Properties

gifts: Collection<string, Gift>

The list of gifts

Methods

  • Makes the class iterable, returning each Gift object.

    Returns IterableIterator<Gift>

  • Checks if this gifts is equal to another gifts.

    Parameters

    • other: Gifts

      The other object to compare with.

    Returns boolean

    True if both objects are instances of Gifts and are equal based on key properties, otherwise false.