Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/vscode-cpptools
/ isBinaryDigit
Function
isBinaryDigit
Extension/src/Utility/Text/characterCodes.ts:177–179 ·
view source on GitHub ↗
(ch: number)
Source
from the content-addressed store, hash-verified
175
}
176
177
export
function
isBinaryDigit(ch: number): boolean {
178
return
ch === CharacterCodes._0 || ch === CharacterCodes._1;
179
}
180
181
export
function
isVariableStart(ch: number): boolean {
182
return
ch === CharacterCodes.$;
Callers
1
scanBinaryNumber
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected