Optional
values: null | readonly Fraction[]Optional
iterable: null | Iterable<Fraction>Readonly
[toReadonly
sizethe number of (unique) elements in Set.
Static
Readonly
[species]Appends value
to the FractionSet
object.
Value to append.
The FractionSet
object with added value.
Removes the element associated to the value
.
Value to remove.
A boolean asserting whether an element was successfully removed or not. FractionSet.prototype.has(value)
will return false
afterwards.
Check value
membership.
Value to check for membership.
A boolean asserting whether an element is present with the given value in the FractionSet
object or not.
Collection of unique fractions.