(value: string, array: T)
| 1 | export function isIn<T extends readonly string[]>(value: string, array: T): value is T[number] { |
| 2 | return array.includes(value); |
| 3 | } |
| 4 | |
| 5 | export function isTypeIn<T extends { type?: string }, E extends string>( |
| 6 | object: T, |
no outgoing calls
no test coverage detected