MCPcopy
hub / github.com/mongodb/node-mongodb-native / capitalize

Function capitalize

etc/docs/utils.ts:27–28  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

25}
26
27const capitalize = (s: string) =>
28 s.length === 0 ? s : s[0].toUpperCase() + s.slice(1).toLowerCase();
29
30util.inspect.defaultOptions.breakLength = 1000;
31util.inspect.defaultOptions.depth = 1000;

Callers 1

getCommandLineArgumentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected