swc/bundler/tests/.cache/deno/855abcea65d9140c2148f1d92f5ca51de145d797.ts

6 lines
164 B
TypeScript
Raw Normal View History

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