1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/arrays
2022-04-28 13:17:53 +03:00
..
arrays_test.v all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
arrays.v arrays: rephrase doc string (#14205) 2022-04-28 13:17:53 +03:00
README.md docs: add more documentation to each of the modules in vlib (#13043) 2022-01-07 13:28:50 +02:00

Description:

arrays is a module that provides utility functions to make working with arrays easier.

Examples:

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
}