aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/library.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index 604c742f..afcea851 100644
--- a/src/library.js
+++ b/src/library.js
@@ -3566,6 +3566,14 @@ LibraryManager.library = {
return chr;
},
+ isupper: function(chr) {
+ return (chr >= 'A'.charCodeAt(0) && chr <= 'Z'.charCodeAt(0));
+ },
+
+ islower: function(chr) {
+ return (chr >= 'a'.charCodeAt(0) && chr <= 'z'.charCodeAt(0));
+ },
+
// ==========================================================================
// ctype.h Linux specifics
// ==========================================================================