]> git.corax.cc Git - toolbox/commit
include/array: Add functions for comparing two arrays
authorMatthias Kruk <m@m10k.eu>
Mon, 28 Jun 2021 21:57:38 +0000 (06:57 +0900)
committerMatthias Kruk <m@m10k.eu>
Mon, 28 Jun 2021 21:57:38 +0000 (06:57 +0900)
commit4c0952adc724181c0e041cdd2a4fc3ff4eed9356
tree166916d1057270083f0367b29a7247b72222d09d
parentbc76a8a3a9af53d675433bf85eba017662b2e7bc
include/array: Add functions for comparing two arrays

This commit adds the array_same() and array_identical() functions to
the array module. The former allows the caller to determine if two
arrays contain the same elements (i.e. permutations are accepted)
while the latter function does not permit permutations.
include/array.sh