isHexadecimal function

bool isHexadecimal(
  1. String input
)

check if the string input is a hexadecimal number

Implementation

bool isHexadecimal(String input) {
  return _regExp.hasMatch(input);
}