Server/project/src/helpers/UtilityHelper.ts
Refringe cb169a18b9
Project Code Format
Ran the `npm run format` command to bring the entire project in-line with the formatting rules.
2024-05-17 15:32:41 -04:00

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));
}
}