( array: unknown[], item: string )
| 34 | * Type guard the string if it does. |
| 35 | */ |
| 36 | export const has = ( |
| 37 | array: unknown[], |
| 38 | item: string |
| 39 | ): item is Extract<(typeof array)[number], string> => array.includes(item); |
no outgoing calls
no test coverage detected