/** * @license * Copyright Larry Diamond 2017 All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/larrydiamond/typescriptcollectionsframework/LICENSE */ import { ImmutableSet } from "./ImmutableSet"; export interface Set extends ImmutableSet { /** * Adds the specified element to this set if it is not already present. * @param {K} element element to be added to this set * @return {boolean} true if this set did not already contain the specified element */ add(element: K): boolean; }