(value: string, trim: boolean)
| 12 | const DEFAULT_PARAMS: RequiredArgs = { trim: true }; |
| 13 | |
| 14 | const isStringValid = (value: string, trim: boolean): boolean => |
| 15 | trim ? value.trim().length > 0 : value.length > 0; |
| 16 | |
| 17 | const isNonStringValid = (value: any): boolean => |
| 18 | value !== void 0 && value !== null; |
no outgoing calls
no test coverage detected
searching dependent graphs…