ToNull

See javadoc - uk.gov.gchq.koryphe.impl.function.ToNull

Available since Koryphe version 1.5.0

Returns null on any input object.

Examples

To null

Java
JSON
Full JSON
Python
final ToNull function = new ToNull();
{
  "class" : "ToNull"
}
{
  "class" : "uk.gov.gchq.koryphe.impl.function.ToNull"
}
g.ToNull()

Input type:

java.lang.Object

Example inputs:

Input TypeInputResult TypeResult
java.lang.Integer4null
java.lang.Long5null
java.lang.StringaStringnull
java.util.Arrays$ArrayList[6, 3]null
nullnull

results matching ""

    No results matching ""