isString method

bool isString(
  1. dynamic value
)

Checks if the given value is a string.

Implementation

bool isString(value) {
  return value is String;
}