detritus

BaseSet<V>class

A Set with array-style helpers.

On this page
import { BaseSet } from 'detritus-utils';
Set<V>BaseSet
<V>
1 property13 methods1 inheritedsrc/baseset.ts:1

Constructor

new BaseSet

new BaseSet<V>(values?: readonly V[] | null)
new BaseSet<V>(iterable?: Iterable<V, any, any> | null)

Accessors

[toStringTag]
string
get
Overrides Set.[toStringTag]
length
number
get

Methods

toString()

src/baseset.ts:73
toString(): string

Returns a string representation of an object.