Exists
See javadoc - uk.gov.gchq.koryphe.impl.predicate.Exists
Available since Koryphe version 1.0.0
Checks the input exists
Examples
Exists
Java
JSON
Full JSON
Python
final Exists function = new Exists();
{
"class" : "Exists"
}
{
"class" : "uk.gov.gchq.koryphe.impl.predicate.Exists"
}
g.Exists()
Input type:
java.lang.Object
Example inputs:
Input Type | Input | Result |
---|---|---|
java.lang.Integer | 1 | true |
null | false | |
java.lang.String | true | |
java.lang.String | abc | true |