and method

bool and(
  1. bool firstCondition,
  2. bool secondCondition
)

Implementation

bool and(bool firstCondition, bool secondCondition) {
  return firstCondition && secondCondition;
}