isNegative

isNegative(x);

Return true if x is negative, false otherwise.

Parameters:
xValue to test condition

Returns:
true if x < 0, false otherwise

Usage:
if(isNegative(x)){
// your code
}

Header:
#include "domain.h"