1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vdoc: HTML highlight generic function as function, not name (#13923)

This commit is contained in:
Nick Treleaven
2022-04-03 21:41:02 +01:00
committed by GitHub
parent 44603f8e59
commit d10135e2c4
4 changed files with 6 additions and 3 deletions

View File

@ -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 {