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

Function manualLowercase

test/angular/1.6/angular.js:293–299  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

291
292
293var manualLowercase = function(s) {
294 /* eslint-disable no-bitwise */
295 return isString(s)
296 ? s.replace(/[A-Z]/g, function(ch) {return String.fromCharCode(ch.charCodeAt(0) | 32);})
297 : s;
298 /* eslint-enable */
299};
300var manualUppercase = function(s) {
301 /* eslint-disable no-bitwise */
302 return isString(s)

Callers

nothing calls this directly

Calls 1

isStringFunction · 0.70

Tested by

no test coverage detected