isString function
Returns whether the type expression
is String.
Implementation
bool isString(ast.AST expression, AnalyzedClass analyzedClass) {
final type = getExpressionType(expression, analyzedClass);
return type.isDartCoreString;
}
Returns whether the type expression
is String.
bool isString(ast.AST expression, AnalyzedClass analyzedClass) {
final type = getExpressionType(expression, analyzedClass);
return type.isDartCoreString;
}