bool isRegExp(TypeInfo typeInfo) => typeInfo.typeName == 'JSSyntaxRegExp' || typeInfo.typeName == 'RegExp' || typeInfo.typeName == '_RegExp';