private static Stream<IConditional> conditionals( FunctionInputDef function)
    {
    return toStream( function.getVarDefs()).flatMap( var -> conditionals( var));
    }
private static Stream < IConditional > conditionals ( FunctionInputDef function ) { return toStream ( function . getVarDefs ( ) ) . flatMap ( var -> conditionals ( var ) ) ; }
Returns the IConditional instances defined by the given function input definition.