Appearance
类似 xor,但是接受一个 iteratee 调用每个元素。
xor
iteratee
import { xorBy } from '@base-web-kits/base-tools-ts'; xorBy([2.1, 1.2], [2.3, 3.4], Math.floor); // 结果: [1.2, 3.4]
arrays (...Array)
iteratee (Function)
(Array)