getBoolType function

bool getBoolType(
  1. int status
)

Implementation

bool getBoolType(int status) {
  return status == 1
      ? true
      : status == 0
          ? false
          : false;
}