MCPcopy 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
177export function isBinaryDigit(ch: number): boolean {
178 return ch === CharacterCodes._0 || ch === CharacterCodes._1;
179}
180
181export function isVariableStart(ch: number): boolean {
182 return ch === CharacterCodes.$;

Callers 1

scanBinaryNumberMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected