is1xx static method

bool is1xx(
  1. int? code
)

Implementation

static bool is1xx(int? code) => (code != null && code >= 100 && code < 200);