MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / manualLowercase

Function manualLowercase

lib/test/angular/1.5.0/angular.js:197–202  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

195
196
197var manualLowercase = function(s) {
198 /* jshint bitwise: false */
199 return isString(s)
200 ? s.replace(/[A-Z]/g, function(ch) {return String.fromCharCode(ch.charCodeAt(0) | 32);})
201 : s;
202};
203var manualUppercase = function(s) {
204 /* jshint bitwise: false */
205 return isString(s)

Callers

nothing calls this directly

Calls 1

isStringFunction · 0.70

Tested by

no test coverage detected