isNegative function

bool isNegative(
  1. int idx
)

Implementation

bool isNegative(int idx) => idx < 0;