Negação de Condição
Você pode definir uma regra para realizar uma ação quando uma condição não for verdadeira.
Esses operadores podem ser usados para testar se uma ou mais condições não são verdadeiras.
it is not true thatUse o operador
it is not true thatpara negar uma condição.A seguinte condição verifica se o cliente é membro da categoria Ouro:
se the category of the customer is Gold então...
Para verificar se o cliente não é membro da categoria Ouro, é possível usar a seguinte instrução:
se it is not true that the category of the customer is Gold então...
none of the following conditions are trueÉ possível negar um grupo de condições usando o operador
none of the following conditions are true. O operador lógicoandvincula as condições no grupo:se all the following conditions are true: - the category of the customer is Gold - the age of the customer is at most 15 então...
A seguinte instrução
ifserá true somente se todas as condições não forem true:se none of the following conditions are true: - the category of the customer is Gold - the age of the customer is at most 15 então...