MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / manualLowercase

Function manualLowercase

lib/test/angular/1.6.7/angular.js:283–289  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

281
282
283var manualLowercase = function(s) {
284 /* eslint-disable no-bitwise */
285 return isString(s)
286 ? s.replace(/[A-Z]/g, function(ch) {return String.fromCharCode(ch.charCodeAt(0) | 32);})
287 : s;
288 /* eslint-enable */
289};
290var manualUppercase = function(s) {
291 /* eslint-disable no-bitwise */
292 return isString(s)

Callers

nothing calls this directly

Calls 1

isStringFunction · 0.70

Tested by

no test coverage detected