mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
11 lines
194 B
TypeScript
11 lines
194 B
TypeScript
import { injectable } from "tsyringe";
|
|
|
|
@injectable()
|
|
export class UtilityHelper
|
|
{
|
|
public arrayIntersect<T>(a: T[], b: T[]): T[]
|
|
{
|
|
return a.filter((x) => b.includes(x));
|
|
}
|
|
}
|