MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / cap

Method cap

static/widgets/runtime-tools.ts:220–226  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

218 }
219
220 private cap(text: string) {
221 if (text.length > 0) {
222 return text[0].toUpperCase() + text.substring(1);
223 }
224
225 return '';
226 }
227
228 private loadStateIntoUI(configured: ConfiguredRuntimeTools) {
229 this.envVarsInput.val('');

Callers 1

loadStateIntoUIMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected