mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2026-01-11 01:24:22 +01:00
5 lines
136 B
TypeScript
5 lines
136 B
TypeScript
export const typedIncludes = <const T>(
|
|
array: readonly T[],
|
|
value: unknown,
|
|
): value is T => (array as unknown[]).includes(value);
|