mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 05:32:09 +03:00
6 lines
164 B
TypeScript
6 lines
164 B
TypeScript
// Loaded from https://deno.land/x/segno@v1.1.0/lib/helpers/includes.ts
|
|
|
|
|
|
export const includes = (arr: any[], val: any) =>
|
|
arr.some((arrVal) => val === arrVal);
|