Skip to content

RangeSet.update method

RangeSet › update

Official

Update the range set, optionally adding new ranges or filtering out existing ones.

Signature:

update(updateSpec: RangeSetUpdate<U>): RangeSet<T>

Parameters:

Parameter Type Description
updateSpec RangeSetUpdate<U> The update specification.

Returns: RangeSet<T>The updated range set.