IsFalse
See javadoc - uk.gov.gchq.koryphe.impl.predicate.IsFalse
Available since Koryphe version 1.0.0
Checks if an input is false
Examples
Is false
Java
JSON
Full JSON
Python
final IsFalse function = new IsFalse();
{
"class" : "IsFalse"
}
{
"class" : "uk.gov.gchq.koryphe.impl.predicate.IsFalse"
}
g.IsFalse()
Input type:
java.lang.Boolean
Example inputs:
Input Type | Input | Result |
---|---|---|
java.lang.Boolean | true | false |
java.lang.Boolean | false | true |
null | false | |
java.lang.String | true | ClassCastException: java.lang.String cannot be cast to java.lang.Boolean |