isNumeric method

bool isNumeric(
  1. dynamic s
)

Implementation

bool isNumeric(dynamic s) {
  if (s == null) {
    return false;
  }
  return num.tryParse(s.toString()) != null;
}