MCPcopy Create free account
hub / github.com/cel-expr/cel-go / upperASCII

Function upperASCII

ext/strings.go:774–783  ·  view source on GitHub ↗
(str string)

Source from the content-addressed store, hash-verified

772}
773
774func upperASCII(str string) (string, error) {
775 runes := []rune(str)
776 for i, r := range runes {
777 if r <= unicode.MaxASCII {
778 r = unicode.ToUpper(r)
779 runes[i] = r
780 }
781 }
782 return string(runes), nil
783}
784
785func reverse(str string) (string, error) {
786 chars := []rune(str)

Callers 1

CompileOptionsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected