isEncodedJSONNumber function

bool isEncodedJSONNumber(
  1. String? s
)

Returns true if s is a encoded JSON num.

Implementation

bool isEncodedJSONNumber(String? s) {
  if (s == null) return false;
  s = s.trim();
  if (s.isEmpty) return false;
  return _isEncodedJSONNumber(s);
}