Assertion: condition | /r/HasProperty | true
Facets:
value: in the examples
type: OTHER
value: always
type: DEGREE
Source sentences:
text: The Microsoft Excel IF function returns one value if the condition is TRUE, or another value if the condition is FALSE.
text: The Microsoft Excel IF function returns one value if the condition is TRUE, or another value if the condition is FALSE.
text: In computer programming, a precondition is a condition or predicate that must always be true just prior to the execution of some section of code or before an operation in a formal specification.
text: The IF function returns value_if_true when the condition is TRUE.
text: In the examples above, all conditions within the AND function must be TRUE for the condition to be met.
text: When using the AND function, all conditions within the AND function must be TRUE for the condition to be met.
text: If the condition is true , the statements following the then are executed.
text: Only the statements following the first condition that is found to be true will be executed.
text: This condition is true if all of its contained conditions are, conditions will be evaluated in the order they have been specified in the build file.
text: This condition is true if at least one of its contained conditions is, conditions will be evaluated in the order they have been specified in the build file.
text: The above condition is true if the file ‘regularfile’ exists and
text: The above condition is true if the file ‘readablefile’ exists and is readable.
text: if [ -L symboliclink ]; then The above condition is true if the file ‘symboliclink’ exists and is a symbolic link.
text: Example one: if [ -z "$emptystring" ]; then The above condition is true if $emptystring is an empty string or an uninitialized variable.
text: Example two: if [ "$stringvar1" == "cheese" ]; then The above condition is true if $stringvar1 contains just the string “cheese”.
text: The above condition is true if $num is less than or equal to 5.
text: The IF function returns value_if_false when the condition is FALSE.
text: The IF function returns FALSE if the value_if_false parameter is omitted and the condition is FALSE.
text: You can add commands to be executed when the condition is false using the else keyword, and use the elif (elseif) keyword to execute commands on another condition if the primary condition is false.
text: The condition at elif is only executed if the condition at if was false.
text: The commands belonging to else are only executed if both conditions are false.