udpated map example
parent
77a8fd4216
commit
2685af0851
|
@ -21,7 +21,7 @@ _**Function type:** Transformation_
|
||||||
_**Output data type:** Object_
|
_**Output data type:** Object_
|
||||||
|
|
||||||
```js
|
```js
|
||||||
map(fn: (r) => r._value * r._value)
|
map(fn: (r) => ({ _value: r._value * r._value }))
|
||||||
```
|
```
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
|
|
Loading…
Reference in New Issue