isHexadecimal function

bool isHexadecimal (
  1. String str
)

check if the string stris a hexadecimal number

Implementation

bool isHexadecimal(String str) {
  return _hexadecimal.hasMatch(str);
}