MCPcopy Create free account
hub / github.com/WhiteSevs/TamperMonkeyScript / uniqueArray

Method uniqueArray

lib/Utils/src/Utils.ts:3535–3579  ·  view source on GitHub ↗
(
    uniqueArrayData: T[] = [],
    compareArrayData: any,
    compareFun: any = (item: any, item2: any) => {
      return item === item2;
    }
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

callbackFunction · 0.80

Calls 2

hasMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected