Fork me on GitHub

new

Returns true only when the given data was not yet seen.

The new transform allows you to check if the given datapoints were seen before in the stream.

The main use case here is if new, which returns all the datapoints with unique data.

Suppose your data is:

["foo","foo","bar","foo","bar","baz"]

the transform new will return:

[true,false,true,false,false,true]

Transform Details

One-To-OneStatelessPeekInput SchemaOutput Schema
TrueFalseFalse{"type": "boolean"}

This Site

Contribute

ConnectorDB is a very new open-source project. If you are a designer/developer or ML enthusiast, head on over to the connectordb github, where you can choose which part of ConnectorDB you want to contribute towards! Pull requests or bug reports are welcome!