@terascope/data-mate / core/interfaces / ReadonlySparseMap
Interface: ReadonlySparseMap<V>
Extends
Iterable
<[number
,V
]>
Type parameters
Type parameter |
---|
V |
Properties
length
length:
number
Source
data-mate/src/core/interfaces.ts:9
size
size:
number
Source
data-mate/src/core/interfaces.ts:10
Methods
[iterator]
()
[iterator]():
IterableIterator
<[number
,V
]>
Returns
IterableIterator
<[number
, V
]>
Overrides
Iterable.[iterator]
Source
data-mate/src/core/interfaces.ts:18
entries()
entries():
IterableIterator
<[number
,V
]>
Returns
IterableIterator
<[number
, V
]>
Source
data-mate/src/core/interfaces.ts:17
forEach()
forEach(
callback
,scope
?):void
Parameters
Parameter | Type |
---|---|
callback | (value , key , set ) => void |
scope ? | any |
Returns
void
Source
data-mate/src/core/interfaces.ts:14
get()
get(
key
):undefined
|V
Parameters
Parameter | Type |
---|---|
key | number |
Returns
undefined
| V
Source
data-mate/src/core/interfaces.ts:13
has()
has(
key
):boolean
Parameters
Parameter | Type |
---|---|
key | number |
Returns
boolean
Source
data-mate/src/core/interfaces.ts:12
inspect()
inspect():
any
Returns
any
Source
data-mate/src/core/interfaces.ts:19
keys()
keys():
IterableIterator
<number
>
Returns
IterableIterator
<number
>
Source
data-mate/src/core/interfaces.ts:15
values()
values():
IterableIterator
<V
>
Returns
IterableIterator
<V
>