MCPcopy Create free account
hub / github.com/microsoft/typescript-go / isAllOctalDigits

Function isAllOctalDigits

internal/jsnum/string.go:304–311  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

302}
303
304func isAllOctalDigits(s string) bool {
305 for _, r := range s {
306 if !stringutil.IsOctalDigit(r) {
307 return false
308 }
309 }
310 return true
311}
312
313func isAllHexDigits(s string) bool {
314 for _, r := range s {

Callers 1

tryParseIntFunction · 0.85

Calls 1

IsOctalDigitFunction · 0.92

Tested by

no test coverage detected