isNumeric function

bool isNumeric(
  1. String type
)

Implementation

bool isNumeric(String type) {
  // Assume type is not empty.

  return type == 'dbl' || type == 'int';
}