hasUppercase static method

bool hasUppercase(
  1. String input
)

Returns whether the input contains an uppercase letter.

Implementation

static bool hasUppercase(String input) => RegExp(r'[A-Z]').hasMatch(input);