Skip to main content

compareArray

function compareArray<T>(
list1,
list2,
predicate): boolean;

Compare 2 Array and using the provided predicate to compare

Type Parameters​

Type Parameter
T

Parameters​

ParameterType
list1T[] | undefined
list2T[] | undefined
predicate(a, b) => boolean

Returns​

boolean