@tspro/ts-utils-lib
    Preparing search index...

    Class Set1<VALUE>

    A simple Set data structure. Comparison of values is done using === operator (e.g. "a" === "a", but [1, 2] !== [1, 2]).

    Type Parameters

    • VALUE

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get size(): number

      Returns number

    Methods

    • Parameters

      • fn: (value: VALUE) => boolean

      Returns boolean

    • Internal
      • This method exists only for interface KVComponent compatibility.

      Parameters

      Returns undefined | VALUE

    • Internal
      • This method exists only for interface KVComponent compatibility.

      Parameters

      Returns void

    • Parameters

      • fn: (value: VALUE) => boolean

      Returns boolean