Class: SourcedSet<T>
utilities/object.SourcedSet
Type parameters
Name |
---|
T |
Constructors
constructor
• new SourcedSet<T
>(use_set?
): SourcedSet
<T
>
Type parameters
Name |
---|
T |
Parameters
Name | Type | Default value |
---|---|---|
use_set | boolean | false |
Returns
SourcedSet
<T
>
Defined in
Methods
_rebuild
▸ _rebuild(): void
Returns
void
Defined in
delete
▸ delete(key
): void
Parameters
Name | Type |
---|---|
key | string |
Returns
void
Defined in
extend
▸ extend(key
, ...items
): void
Parameters
Name | Type |
---|---|
key | string |
...items | T [] |
Returns
void
Defined in
get
▸ get(key
): undefined
| T
[]
Parameters
Name | Type |
---|---|
key | string |
Returns
undefined
| T
[]
Defined in
has
▸ has(key
): boolean
Parameters
Name | Type |
---|---|
key | string |
Returns
boolean
Defined in
includes
▸ includes(value
): boolean
Parameters
Name | Type |
---|---|
value | T |
Returns
boolean
Defined in
push
▸ push(key
, item
): void
Parameters
Name | Type |
---|---|
key | string |
item | T |
Returns
void
Defined in
remove
▸ remove(key
, item
): void
Parameters
Name | Type |
---|---|
key | string |
item | T |
Returns
void
Defined in
set
▸ set(key
, items
): void
Parameters
Name | Type |
---|---|
key | string |
items | T | T [] |
Returns
void
Defined in
sourceIncludes
▸ sourceIncludes(key
, value
): undefined
| boolean
Parameters
Name | Type |
---|---|
key | string |
value | T |
Returns
undefined
| boolean