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
list1undefined | T[]
list2undefined | T[]
predicate(a, b) => boolean

Returns

boolean