mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vdoc: highlight inline examples for -f html
(#13879)
This commit is contained in:
@ -690,7 +690,7 @@ pub fn (a array) filter(predicate fn (voidptr) bool) array
|
||||
// Example: array.any(it.name == 'Bob') // will yield `true` if any element has `.name == 'Bob'`
|
||||
pub fn (a array) any(predicate fn (voidptr) bool) bool
|
||||
|
||||
// all tests whether all elements in the array pass the test
|
||||
// all tests whether all elements in the array pass the test.
|
||||
// Ignore the function signature. `all` does not take an actual callback. Rather, it
|
||||
// takes an `it` expression.
|
||||
// It returns `false` if any element fails the test. Otherwise,
|
||||
|
Reference in New Issue
Block a user