Validate given int is not null and returns given value if null.
int validate({int value = 0}) { return this ?? value; }