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

docs: add more documentation to each of the modules in vlib (#13043)

This commit is contained in:
jeffmikels
2022-01-07 06:28:50 -05:00
committed by GitHub
parent 287331bc19
commit 6e6d51a1c9
16 changed files with 266 additions and 71 deletions

View File

@ -1,4 +1,16 @@
## Description:
`arrays` provides some generic functions for processing arrays.
`arrays` is a module that provides utility functions to make working with arrays easier.
## Examples:
```v
import arrays
fn main() {
a := [1, 5, 7, 0, 9]
assert arrays.min(a) ? == 0
assert arrays.max(a) ? == 9
assert arrays.idx_min(a) ? == 3
}
```