mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
vdoc: HTML highlight generic function as function, not name (#13923)
This commit is contained in:
parent
44603f8e59
commit
d10135e2c4
4 changed files with 6 additions and 3 deletions
|
@ -1208,6 +1208,7 @@ pub fn (s string) to_upper() string {
|
|||
}
|
||||
|
||||
// is_upper returns `true` if all characters in the string is uppercase.
|
||||
// See also: [`byte.is_capital`](#byte.is_capital)
|
||||
// Example: assert 'HELLO V'.is_upper() == true
|
||||
[direct_array_access]
|
||||
pub fn (s string) is_upper() bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue