v/vlib/arrays
Daniel Däschle 54bbc00493
fmt: remove space in front of ? and ! (#14366)
2022-05-13 10:10:39 +02:00
..
README.md fmt: remove space in front of ? and ! (#14366) 2022-05-13 10:10:39 +02:00
arrays.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 10:10:39 +02:00
arrays_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 10:10:39 +02:00

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
}