It emits the last item of a stream of strings.
Input | Output |
---|---|
["f","a","c"]
|
"c"
|
["a"]
|
"a"
|
It emits null for empty streams.
Input | Output |
---|---|
[]
|
null
|
It emits the last item of a stream of complex items.
Input | Output |
---|---|
[{"a":1,"b":"a"},{"a":2...
|
{"a":3,"b":"c"}
|