MCPcopy Index your code
hub / github.com/microsoft/vscode-cpptools / isIntegral

Function isIntegral

Extension/src/common.ts:1602–1605  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

1600}
1601
1602function isIntegral(str: string): boolean {
1603 const regex = /^-?\d+$/;
1604 return regex.test(str);
1605}
1606
1607export function getLoggingLevel() {
1608 return getNumericLoggingLevel(vscode.workspace.getConfiguration("C_Cpp", null).get<string>("loggingLevel"));

Callers 1

getNumericLoggingLevelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected