Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 112 Bytes
94753b6 |
1 2 3 4 |
export function typedInclude<V, T extends V>(arr: readonly T[], v: V): v is T {
return arr.includes(v as T);
}
|