What is "condition"

A conditional expression, also called conditional construction, selection structure or simply condition, is a logical pattern (predicate) which may or may not apply to a data set by assigning a value of verdadeiro or falso.

It is used in control structure of a program to implement a conditional deviation, or more abstractly in the decision between including or not a certain set of data in the output or return of a function or in a certain data structure. This is done through a test that checks whether or not the input data has a certain set of properties, and the result of that test is the trigger that determines the appropriate action to be taken next.

This tag should be used in questions in which the focus is the correct establishment of problems relative to the conditions necessary to achieve a certain objective. Examples are the conditional construction in tests if or ties for, the clause where of consultations , or the use of data filters in general - but only when the question is about the conditional expression itself, and not any case that makes use of a condition but the same is not the subject of doubt, problem or question.