MCPcopy Index your code
hub / github.com/larksuite/cli / hasNonASCII

Function hasNonASCII

cmd/cmdexample_parse_test.go:200–202  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

198}
199
200func hasNonASCII(s string) bool {
201 return strings.IndexFunc(s, func(r rune) bool { return r > 127 }) >= 0
202}
203
204// flagShape matches the leading flag token, stripping any trailing junk such as
205// a "=value" suffix or punctuation that bled in from the surrounding markdown

Callers 2

parseCmdFunction · 0.70
isPlaceholderOrProseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected