v / vlib / arrays
0 issues 1 contributor 4 branches 0 releases
Clone with HTTPS:

About

README
  V 99.7% 272k loc
  JavaScript 0.1% 344 loc
  C 0% 63 loc
  C++ 0% 95 loc
  Go 0% 63 loc
52 years ago
..

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
}