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 TypeInputResult
java.lang.Booleantruefalse
java.lang.Booleanfalsetrue
nullfalse
java.lang.StringtrueClassCastException: java.lang.String cannot be cast to java.lang.Boolean

results matching ""

    No results matching ""