isDouble method

bool isDouble()

Returns true if the string can be converted to a double, false otherwise.

Implementation

bool isDouble() {
  return double.tryParse(this) != null;
}