MCPcopy
hub / github.com/micro-editor/micro / IsUpperAlphanumeric

Function IsUpperAlphanumeric

internal/util/util.go:292–294  ·  view source on GitHub ↗

IsUpperAlphanumeric returns whether or not a rune is an 'upper alphanumeric character' Upper alphanumeric characters are defined as numbers or upper-case letters

(r rune)

Source from the content-addressed store, hash-verified

290// IsUpperAlphanumeric returns whether or not a rune is an 'upper alphanumeric character'
291// Upper alphanumeric characters are defined as numbers or upper-case letters
292func IsUpperAlphanumeric(r rune) bool {
293 return IsUpperLetter(r) || unicode.IsNumber(r)
294}
295
296// IsLowerAlphanumeric returns whether or not a rune is a 'lower alphanumeric character'
297// Lower alphanumeric characters are defined as numbers or lower-case letters

Callers 2

SubWordRightMethod · 0.92
SubWordLeftMethod · 0.92

Calls 1

IsUpperLetterFunction · 0.85

Tested by

no test coverage detected