isString static method

bool isString(
  1. String token
)

returns true if input token is of type string

Implementation

static bool isString(String token) =>
    regExpAnyString.stringMatch(token) == token;