- Preparing search index...
- The search index is not available
rock-utils
- diffForTwoArray(a: any[], b: any[], funForEqual?: ((a: any, b: any) => boolean)): any[]
-
Parameters
-
a: any[]
-
b: any[]
-
funForEqual: ((a: any, b: any) => boolean) = ...
-
- (a: any, b: any): boolean
-
Returns boolean
Returns any[]
两个数组相减
Returns
返回数组,数组中的元素在a中, 而不在b中