notNegative function

bool notNegative(
  1. int x
)

Implementation

bool notNegative(int x) => notNull(x) && x >= 0;