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 that

Use o operador it is not true that para 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ógico and vincula 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 if será 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...