isPositive

isPositive(X x);

Return true if x is positive, false otherwise.

Parameters:
xValue to test condition

Returns:
true if x > 0, false otherwise

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

Header:
#include "domain.h"