Index: Source/devtools/front_end/ui/TextUtils.js |
diff --git a/Source/devtools/front_end/ui/TextUtils.js b/Source/devtools/front_end/ui/TextUtils.js |
index 872733203130e3eacec743035fcd3f210928a5d7..18e878594fcf53c7ac60536e4f7b87db81dc2e79 100644 |
--- a/Source/devtools/front_end/ui/TextUtils.js |
+++ b/Source/devtools/front_end/ui/TextUtils.js |
@@ -153,6 +153,24 @@ WebInspector.TextUtils = { |
} |
} |
return -1; |
+ }, |
+ |
+ /** |
+ * @param {string} text |
+ * @return {boolean} |
+ */ |
+ isUpperCase: function(text) |
+ { |
+ return text === text.toUpperCase(); |
+ }, |
+ |
+ /** |
+ * @param {string} text |
+ * @return {boolean} |
+ */ |
+ isLowerCase: function(text) |
+ { |
+ return text === text.toLowerCase(); |
} |
} |