(value: any)
| 14 | }; |
| 15 | |
| 16 | export const isString = (value: any): value is string => { |
| 17 | return typeof value === 'string'; |
| 18 | }; |
| 19 | |
| 20 | export const isStringWithValue = (value: any): value is string => { |
| 21 | return isString(value) && value !== ''; |
no outgoing calls
no test coverage detected