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

Function manualLowercase

test/angular/1.5/angular.js:199–205  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

197
198
199var manualLowercase = function(s) {
200 /* eslint-disable no-bitwise */
201 return isString(s)
202 ? s.replace(/[A-Z]/g, function(ch) {return String.fromCharCode(ch.charCodeAt(0) | 32);})
203 : s;
204 /* eslint-enable */
205};
206var manualUppercase = function(s) {
207 /* eslint-disable no-bitwise */
208 return isString(s)

Callers

nothing calls this directly

Calls 1

isStringFunction · 0.70

Tested by

no test coverage detected