MCPcopy
hub / github.com/phaserjs/phaser / UppercaseFirst

Function UppercaseFirst

src/utils/string/UppercaseFirst.js:26–29  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

24 * @return {string} A new string, same as the first, but with the first letter capitalized.
25 */
26var UppercaseFirst = function (str)
27{
28 return str && str[0].toUpperCase() + str.slice(1);
29};
30
31module.exports = UppercaseFirst;

Callers 3

GetPhysicsPluginsFunction · 0.85
GetEaseFunctionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…