Type Definitions
FilterCallback(value, key, refMap) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
value |
* | map value |
key |
string | * | map key |
refMap |
LightMap | original LightMap |
Returns:
- a comparison or boolean value to
- Type
- boolean
FindCallback(value, key, refMap) → {Array.<(string|*), *>}
Parameters:
Name | Type | Description |
---|---|---|
value |
* | map value |
key |
string | * | map key |
refMap |
LightMap | original LightMap |
Returns:
- the found value
- Type
- Array.<(string|*), *>
MapCallback(value, key, refMap) → {Array.<(string|*), *>}
Parameters:
Name | Type | Description |
---|---|---|
value |
* | map value |
key |
string | * | map key |
refMap |
LightMap | original LightMap |
Returns:
- the new key-value pair to be remapped
- Type
- Array.<(string|*), *>
ReduceCallback(value, mapKeyPair, key, refMap) → {*}
Parameters:
Name | Type | Description |
---|---|---|
value |
* | carriage value |
mapKeyPair |
Array.<(string|*), *> | map key-value pair |
key |
string | * | map key |
refMap |
LightMap | original LightMap |
Returns:
- the carriage value
- Type
- *