1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/arrays
2023-07-22 13:22:30 +03:00
..
arrays_test.v arrays: add more util functions and tests for them - find_first, find_last, join_to_string (#18784) 2023-07-07 06:52:08 +03:00
arrays.v doc: use square brackets for generics in comments (#18943) 2023-07-22 13:22:30 +03:00
index_of.v
map_of.v
README.md

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
}