IsTrue

See javadoc - uk.gov.gchq.koryphe.impl.predicate.IsTrue

Available since Koryphe version 1.0.0

Examples

Is true

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

Input type:

java.lang.Boolean

Example inputs:

Input TypeInputResult
java.lang.Booleantruetrue
java.lang.Booleanfalsefalse
nullfalse
java.lang.StringtrueClassCastException: java.lang.String cannot be cast to java.lang.Boolean

results matching ""

    No results matching ""