MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / manualLowercase

Function manualLowercase

code/songhop/www/lib/angular/angular.js:206–211  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

204
205
206var manualLowercase = function(s) {
207 /* jshint bitwise: false */
208 return isString(s)
209 ? s.replace(/[A-Z]/g, function(ch) {return String.fromCharCode(ch.charCodeAt(0) | 32);})
210 : s;
211};
212var manualUppercase = function(s) {
213 /* jshint bitwise: false */
214 return isString(s)

Callers

nothing calls this directly

Calls 1

isStringFunction · 0.70

Tested by

no test coverage detected